com.iplanet.am.sdk
クラス AMEntityType

java.lang.Object
  上位を拡張 com.iplanet.am.sdk.AMEntityType

推奨されていません。 As of Sun Java System Access Manager 7.1.

public final class AMEntityType
extends Object

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 
        }
 
 


コンストラクタの概要
protected AMEntityType(String name, int type, String serviceName, String searchTemplate, String creationTemplate, String containerDN, int containerType, String nAttr, String stAttr, String oc)
          推奨されていません。  
 
メソッドの概要
protected  String getContainerRDN()
          推奨されていません。 Returns the parent container RDN
protected  int getContainerType()
          推奨されていません。 Returns the parent container type
protected  String getCreationTemplate()
          推奨されていません。 Returns the creation template name
 String getName()
          推奨されていません。 Returns the name of the entity
protected  String getNamingAttribute()
          推奨されていません。 Returns the naming attribute
protected  String getObjectClass()
          推奨されていません。 Returns the objectclass
 String getSearchTemplate()
          推奨されていません。 Returns the search template name
 String getServiceName()
          推奨されていません。 Returns the service name to be used to display entity profile
 com.sun.identity.sm.ServiceSchemaManager getServiceSchemaManager(SSOToken token)
          推奨されていません。 Returns the schema manager for the service defined to display this profile in the console.
 int getType()
          推奨されていません。 Returns the integer type of the entity
 String toString()
          推奨されていません。 Returns a string representation of this Entity.
 

コンストラクタの詳細

AMEntityType

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 entity
type - The integer type of entity
serviceName - Name of service to be used to display the entity profile
searchTemplate - Name of search template to be used to search for this entity
creationTemplate - Name of creation template to be used
containerDN - 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 entity
stAttr - Status attribute of this entity, if any. Not all entities have status attributes.
oc - Objectclass used to identify this entry.
メソッドの詳細

toString

public String toString()
推奨されていません。 
Returns a string representation of this Entity.

オーバーライド:
クラス Object 内の toString
戻り値:
a string representation of this Entity.

getName

public String getName()
推奨されていません。 
Returns the name of the entity

戻り値:
Name

getType

public int getType()
推奨されていません。 
Returns the integer type of the entity

戻り値:
type

getServiceName

public String getServiceName()
推奨されていません。 
Returns the service name to be used to display entity profile

戻り値:
service Name

getServiceSchemaManager

public com.sun.identity.sm.ServiceSchemaManager getServiceSchemaManager(SSOToken token)
                                                                 throws AMException,
                                                                        SSOException
推奨されていません。 
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.

パラメータ:
token - Single sign on token of the user
戻り値:
com.sun.identity.sm.ServiceSchemaManager
例外:
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()
推奨されていません。 
Returns the naming attribute

戻り値:
value of naming attribute.

getObjectClass

protected String getObjectClass()
推奨されていません。 
Returns the objectclass

戻り値:
objectclass used to identify this entry.

getCreationTemplate

protected String getCreationTemplate()
推奨されていません。 
Returns the creation template name

戻り値:
name of creation template used

getSearchTemplate

public String getSearchTemplate()
推奨されていません。 
Returns the search template name

戻り値:
returns the name of the search template for this entity type

getContainerRDN

protected String getContainerRDN()
推奨されていません。 
Returns the parent container RDN

戻り値:
relative distinguished name of the container in which this entity shoould be created.

getContainerType

protected int getContainerType()
推奨されていません。 
Returns the parent container type

戻り値:
the integer type of the container.