com.iplanet.am.sdk
Class AMEntityType

java.lang.Object
  extended bycom.iplanet.am.sdk.AMEntityType

Deprecated. As of Sun Java System Access Manager 7.1.

public final class AMEntityType
extends java.lang.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
	}


Method Summary
 java.lang.String getName()
          Deprecated. Returns the name of the entity
 java.lang.String getSearchTemplate()
          Deprecated. Returns the search template name
 java.lang.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
 java.lang.String toString()
          Deprecated. 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()
Deprecated. 
Returns a string representation of this Entity.

Returns:
a string representation of this Entity.

getName

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

getSearchTemplate

public java.lang.String getSearchTemplate()
Deprecated. 
Returns the search template name

Returns:
returns the name of the search template for this entity type


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