|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iplanet.am.sdk.AMEntityType
public final class AMEntityType
This class defines a supported managed object type by 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 }
Constructor Summary | |
---|---|
protected |
AMEntityType(String name,
int type,
String serviceName,
String searchTemplate,
String creationTemplate,
String containerDN,
int containerType,
String nAttr,
String stAttr,
String oc)
Deprecated. |
Method Summary | |
---|---|
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 |
com.sun.identity.sm.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. |
Constructor Detail |
---|
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.Method Detail |
---|
public String toString()
toString
in class Object
public String getName()
public int getType()
public String getServiceName()
public com.sun.identity.sm.ServiceSchemaManager getServiceSchemaManager(SSOToken token) throws AMException, SSOException
token
- Single sign on token of the user
AMException
- 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |