public interface CentraSiteObjectTypeManager
QName
CentraSiteServiceFactory
csServiceFactory =CentraSiteServiceFactory
.getInstance();CentraSiteService
centraSiteService = csServiceFactory.createService();CentraSiteSession
session = centraSiteService.createSession();CentraSiteObjectTypeManager
centraSiteObjectTypeManager = session.getCentraSiteObjectTypeManager();
Modifier and Type | Method and Description |
---|---|
CentraSiteRegistryObjectType |
createRegistryObjectType(java.lang.String name,
java.lang.String desc)
Returns a new created
CentraSiteRegistryObjectType with specified name and description. |
java.util.List<CentraSiteObjectAttribute> |
getAllCommonAttributes()
Returns all the Common Attributes.
|
java.util.List<CentraSiteObjectAttribute> |
getAPIKeyTypeSpecificExtensionAttributes(java.lang.String typeName)
Returns a
List of CentraSiteObjectAttribute defined for the specific type. |
java.util.List<CentraSiteObjectAttribute> |
getAPIPortalAttributes()
|
java.util.Collection<CentraSiteRegistryObject> |
getAssociationTypes()
Returns a list of AttributeTypes
|
AttributeData |
getAttributeDataObject()
Returns an empty
AttributeData object. |
java.util.List<CentraSiteObjectAttribute> |
getNativeServiceAttributes()
|
java.util.Collection<CentraSiteRegistryObject> |
getObjectTypes()
Returns a list of Object types
|
java.util.List<CentraSiteObjectAttribute> |
getOrganizationAttributes()
Returns set of attributes that are specifically defined for Organization objects.
|
java.util.List<CentraSiteObjectAttribute> |
getPermissionAttributes()
|
ProfileData |
getProfileDataObject()
Returns an empty
ProfileData object. |
CentraSiteRegistryObjectType |
getRegistryObjectType(java.lang.String id)
Returns a
CentraSiteRegistryObjectType for the given id. |
java.util.Collection<CentraSiteRegistryObject> |
getRelationShipTypes()
Returns a list of RelationShipTypes
|
java.util.List<CentraSiteObjectAttribute> |
getRoleAttributes()
|
CentraSiteObjectType |
getType(javax.xml.namespace.QName name)
Populate the CentraSiteObjectType persisted using the given
QName . |
CentraSiteObjectType |
getType(java.lang.String name)
Populate the
CentraSiteRegistryObjectType , if the concept exists with the given name. |
CentraSiteObjectType |
getTypeByDisplayName(java.lang.String name)
Creates the CentraSiteObjectType for the given name.
|
java.util.Collection<CentraSiteObjectType> |
getTypes()
Fetches a collection of all types.
|
java.util.Collection<CentraSiteObjectType> |
getTypes(int searchMainType,
java.lang.String keyword)
Fetches a collection of types that are containing the given keyword.
|
java.util.Collection<CentraSiteObjectType> |
getTypes(java.lang.String keyword)
Fetches a collection of types that are containing the given keyword.
|
java.util.List<CentraSiteObjectAttribute> |
getTypeSpecificExtensionAttributes(java.lang.String typeName)
Returns a
List of CentraSiteObjectAttribute defined for the specific type. |
java.util.List<CentraSiteObjectAttribute> |
getUserAttributes()
|
java.util.List<CentraSiteObjectAttribute> |
getVirtualAllSeriveAttributes()
|
CentraSiteObjectType getType(java.lang.String name) throws CLLException
CentraSiteRegistryObjectType
, if the concept exists with the given name.
If a concept does not exist with the given name, then returns null.name
- identifier used to identify the CentraSiteObjectType.CentraSiteObjectType
which wraps Concept.CLLException
- thrown in case of a failure to populate the CentraSiteObjectType for the given identifier.CentraSiteObjectType getType(javax.xml.namespace.QName name) throws CLLException
QName
.name
- identifier which used to identify the registry object.CLLException
- Thrown in case of a failure to populate the CentraSiteRegistryObject for the given QName.java.util.Collection<CentraSiteObjectType> getTypes() throws CLLException
Collection
of CentraSiteObjectType
types.CLLException
- If an error occurs while searching for types.java.util.Collection<CentraSiteObjectType> getTypes(java.lang.String keyword) throws CLLException
keyword
- string for which the search is being performedCollection
of CentraSiteObjectType
types where type name contains the given keywordCLLException
- If an error occurs while searching for types by keywordsjava.util.Collection<CentraSiteObjectType> getTypes(int searchMainType, java.lang.String keyword) throws CLLException
keyword
- string for which the search is being performedCollection
of CentraSiteObjectType
types where type name contains the given keywordCLLException
- If an error occurs while searching for types by keywordsCentraSiteObjectType getTypeByDisplayName(java.lang.String name) throws CLLException
name
- type representation for CentraSiteObjectCentraSiteObjectType
which represent the type of the Registry Object & holds the information related to that specific typeCLLException
- thrown in case of a failure to populate the CentraSiteObject for the given type.java.util.List<CentraSiteObjectAttribute> getAllCommonAttributes() throws CLLException
List
of common CentraSiteObjectAttribute
objects.CLLException
- thrown in case the attribute retrieval fails.java.util.List<CentraSiteObjectAttribute> getOrganizationAttributes() throws CLLException
List
of Organization specific CentraSiteObjectAttribute
sCLLException
- If an error occurs in getting the organization's attributesjava.util.List<CentraSiteObjectAttribute> getUserAttributes() throws CLLException
List
of User specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the user attributesjava.util.List<CentraSiteObjectAttribute> getRoleAttributes() throws CLLException
List
of role specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the role attributesjava.util.List<CentraSiteObjectAttribute> getPermissionAttributes() throws CLLException
List
of permission specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the permission attributesjava.util.List<CentraSiteObjectAttribute> getAPIPortalAttributes() throws CLLException
List
of apiPortal specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the apiPortal attributesjava.util.List<CentraSiteObjectAttribute> getTypeSpecificExtensionAttributes(java.lang.String typeName) throws CLLException
List
of CentraSiteObjectAttribute
defined for the specific type.List
of type specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the type specific attributes.java.util.List<CentraSiteObjectAttribute> getVirtualAllSeriveAttributes() throws CLLException
List
of virtualservice specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the virtualAttibute attributesjava.util.List<CentraSiteObjectAttribute> getAPIKeyTypeSpecificExtensionAttributes(java.lang.String typeName) throws CLLException
List
of CentraSiteObjectAttribute
defined for the specific type.List
of type specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the type specific attributes.java.util.List<CentraSiteObjectAttribute> getNativeServiceAttributes() throws CLLException
List
of all type of service specific CentraSiteObjectAttribute
sCLLException
- When an error is encountered trying to retrieve the NativeServiceAttribute attributesCentraSiteRegistryObjectType createRegistryObjectType(java.lang.String name, java.lang.String desc) throws CLLException
CentraSiteRegistryObjectType
with specified name and description.CentraSiteRegistryObjectType
CLLException
CentraSiteRegistryObjectType getRegistryObjectType(java.lang.String id) throws CLLException
CentraSiteRegistryObjectType
for the given id.CentraSiteRegistryObjectType
for the given idCLLException
AttributeData getAttributeDataObject()
AttributeData
object.AttributeData
objectProfileData getProfileDataObject()
ProfileData
object.ProfileData
objectjava.util.Collection<CentraSiteRegistryObject> getRelationShipTypes() throws CLLException
CLLException
java.util.Collection<CentraSiteRegistryObject> getAssociationTypes() throws CLLException
CLLException
java.util.Collection<CentraSiteRegistryObject> getObjectTypes() throws CLLException
CLLException