public final class AMEntityType extends Object
AM SDK
It defines the name, type, service name of the object. A set of the supported
types can be obtained by using the class AMStoreConnection
:
AMStoreConnection amsc = new AMStoreConnection(ssotoken); Set supportedTypes = amsc.getSupportedTypes(); Iterator it = supportedTypes.iterator(); while (it.hasNext()) { AMEntityType thisType = (AMEntityType) it.next(); // Do stuff with AMEntityType }
Modifier | Constructor and Description |
---|---|
protected |
AMEntityType(String name,
int type,
String serviceName,
String searchTemplate,
String creationTemplate,
String containerDN,
int containerType,
String nAttr,
String stAttr,
String oc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getContainerRDN()
Deprecated.
Returns the parent container RDN
|
protected int |
getContainerType()
Deprecated.
Returns the parent container type
|
protected String |
getCreationTemplate()
Deprecated.
Returns the creation template name
|
String |
getName()
Deprecated.
Returns the name of the entity
|
protected String |
getNamingAttribute()
Deprecated.
Returns the naming attribute
|
protected String |
getObjectClass()
Deprecated.
Returns the objectclass
|
String |
getSearchTemplate()
Deprecated.
Returns the search template name
|
String |
getServiceName()
Deprecated.
Returns the service name to be used to display entity profile
|
ServiceSchemaManager |
getServiceSchemaManager(SSOToken token)
Deprecated.
Returns the schema manager for the service defined to display this
profile in the console.
|
int |
getType()
Deprecated.
Returns the integer type of the entity
|
String |
toString()
Deprecated.
Returns a string representation of this Entity.
|
protected AMEntityType(String name, int type, String serviceName, String searchTemplate, String creationTemplate, String containerDN, int containerType, String nAttr, String stAttr, String oc)
name
- Name of entitytype
- The integer type of entityserviceName
- Name of service to be used to display the entity profilesearchTemplate
- Name of search template to be used to search for this entitycreationTemplate
- Name of creation template to be usedcontainerDN
- Relative Distinguished Name of the container in which this
entity shoould be created.containerType
- The integer type of the container.nAttr
- Naming attribute of this entitystAttr
- Status attribute of this entity, if any. Not all entities have
status attributes.oc
- Objectclass used to identify this entry.public String toString()
public String getName()
public int getType()
public String getServiceName()
public ServiceSchemaManager getServiceSchemaManager(SSOToken token) throws AMException, SSOException
token
- Single sign on token of the userAMException
- If unable to obtain the service schema, or if schema is not
defined.SSOException
- if the single sign on token of user is invalid.protected String getNamingAttribute()
protected String getObjectClass()
protected String getCreationTemplate()
public String getSearchTemplate()
protected String getContainerRDN()
protected int getContainerType()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.