Package com.iplanet.am.sdk
Class AMEntityType
- java.lang.Object
-
- com.iplanet.am.sdk.AMEntityType
-
public final class AMEntityType extends Object
Deprecated.As of Sun Java System Access Manager 7.1.This class defines a supported managed object type byAM SDKIt defines the name, type, service name of the object. A set of the supported types can be obtained by using the classAMStoreConnection: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 }
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected StringgetContainerRDN()Deprecated.Returns the parent container RDNprotected intgetContainerType()Deprecated.Returns the parent container typeprotected StringgetCreationTemplate()Deprecated.Returns the creation template nameStringgetName()Deprecated.Returns the name of the entityprotected StringgetNamingAttribute()Deprecated.Returns the naming attributeprotected StringgetObjectClass()Deprecated.Returns the objectclassStringgetSearchTemplate()Deprecated.Returns the search template nameStringgetServiceName()Deprecated.Returns the service name to be used to display entity profileServiceSchemaManagergetServiceSchemaManager(SSOToken token)Deprecated.Returns the schema manager for the service defined to display this profile in the console.intgetType()Deprecated.Returns the integer type of the entityStringtoString()Deprecated.Returns a string representation of this Entity.
-
-
-
Constructor Detail
-
AMEntityType
protected AMEntityType(String name, int type, String serviceName, String searchTemplate, String creationTemplate, String containerDN, int containerType, String nAttr, String stAttr, String oc)
Deprecated.- Parameters:
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
-
toString
public String toString()
Deprecated.Returns a string representation of this Entity.
-
getName
public String getName()
Deprecated.Returns the name of the entity- Returns:
- Name
-
getType
public int getType()
Deprecated.Returns the integer type of the entity- Returns:
- type
-
getServiceName
public String getServiceName()
Deprecated.Returns the service name to be used to display entity profile- Returns:
- service Name
-
getServiceSchemaManager
public ServiceSchemaManager getServiceSchemaManager(SSOToken token) throws AMException, SSOException
Deprecated.Returns the schema manager for the service defined to display this profile in the console. If the service is not defined then an exception is thrown.- Parameters:
token- Single sign on token of the user- Returns:
- com.sun.identity.sm.ServiceSchemaManager
- Throws:
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.
-
getNamingAttribute
protected String getNamingAttribute()
Deprecated.Returns the naming attribute- Returns:
- value of naming attribute.
-
getObjectClass
protected String getObjectClass()
Deprecated.Returns the objectclass- Returns:
- objectclass used to identify this entry.
-
getCreationTemplate
protected String getCreationTemplate()
Deprecated.Returns the creation template name- Returns:
- name of creation template used
-
getSearchTemplate
public String getSearchTemplate()
Deprecated.Returns the search template name- Returns:
- returns the name of the search template for this entity type
-
getContainerRDN
protected String getContainerRDN()
Deprecated.Returns the parent container RDN- Returns:
- relative distinguished name of the container in which this entity shoould be created.
-
getContainerType
protected int getContainerType()
Deprecated.Returns the parent container type- Returns:
- the integer type of the container.
-
-