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 |
---|---|
java.util.List<CentraSiteObjectAttribute> |
getAllCommonAttributes()
Returns all the Common Attributes.
|
java.util.List<CentraSiteObjectAttribute> |
getOrganizationAttributes()
Returns set of attributes that are specifically defined for Organization objects.
|
java.util.List<CentraSiteObjectAttribute> |
getPermissionAttributes()
|
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(java.lang.String keyword)
Fetches the collection of types that are containing the given keyword.
|
java.util.List<CentraSiteObjectAttribute> |
getUserAttributes()
|
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(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 attributes