com.iplanet.am.sdk
Class AMEntityType

java.lang.Object
  |
  +--com.iplanet.am.sdk.AMEntityType

public final class AMEntityType
extends java.lang.Object


Method Summary
 java.lang.String getName()
          Returns the name of the entity
 java.lang.String getSearchTemplate()
          Returns the search template name
 java.lang.String getServiceName()
          Returns the service name to be used to display entity profile
 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
 java.lang.String toString()
          Returns a string representation of this Entity.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Returns a string representation of this Entity.
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this Entity.

getName

public java.lang.String getName()
Returns the name of the entity
Returns:
Name

getType

public int getType()
Returns the integer type of the entity
Returns:
type

getServiceName

public java.lang.String getServiceName()
Returns the service name to be used to display entity profile
Returns:
service Name

getServiceSchemaManager

public 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.
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.

getSearchTemplate

public java.lang.String getSearchTemplate()
Returns the search template name
Returns:
returns the name of the search template for this entity type


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.