|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.iplanet.am.sdk.AMSchema
com.sun.identity.sm.ServiceSchema.
The class AMSchema provides
interfaces to get the schema information for
service configuration information
| Inner Class Summary | |
static class |
AMSchema.Type
Deprecated. This class has been deprecated. Please use com.sun.identity.sm.SchemaType. |
| Method Summary | |
static void |
addListener(java.lang.String serviceName,
AMServiceListener listener)
Deprecated. Registers the listener for the given service name |
java.util.Map |
getAttributeDefaults()
Deprecated. Get a map of all the attribute and their default values in this schema |
java.util.Set |
getAttributeNames()
Deprecated. Method to obtain the names of the schema attributes defined for the service. |
AMAttributeSchema |
getAttributeSchema(java.lang.String attributeName)
Deprecated. Method to obtain the schema for an attribute given the name of the attribute, defined for this service. |
java.util.Set |
getAttributeSchemas()
Deprecated. Get all the AMAttributeSchema defined for this Service Schema. |
java.lang.String |
getI18NKey()
Deprecated. Method to get I18N key to describe the service |
java.lang.String |
getPropertiesViewBeanURL()
Deprecated. gets properties view bean associated with this schema |
java.util.Map |
getReadOnlyAttributeDefaults()
Deprecated. Get an unmodifiable map of all the attribute and their default values in this schema |
AMSchema.Type |
getSchemaType()
Deprecated. Method to obtain the schema type |
java.lang.String |
getServiceName()
Deprecated. Method to obtain the service name. |
java.lang.String |
getStatusAttribute()
Deprecated. Method to get the name of the service status attribute. |
java.lang.String[] |
getStatusAttributeChoiceValues()
Deprecated. Method to get the choice values for the status attribute of this service (and this schema) |
AMSchema |
getSubSchema(java.lang.String subSchemaName)
Deprecated. Method to obtain Service SubSchema object given the name of the service's sub schema. |
java.util.Set |
getSubSchemaNames()
Deprecated. Method to get the names of sub-schemas names for the this Schema |
void |
removeAttributeDefaults(java.util.Set attrs)
Deprecated. Method to remove default values of attributes in the schema. |
static void |
removeListener(java.lang.String serviceName,
AMServiceListener listener)
Deprecated. Unregisters the listener for the given service name |
void |
setAttributeDefaults(java.util.Map attrs)
Deprecated. Method to change the default values of attributes in the schema. |
void |
setAttributeDefaults(java.lang.String attrName,
java.util.Set values)
Deprecated. Method to change default value for a specific attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getServiceName()
public AMSchema.Type getSchemaType()
public java.lang.String getI18NKey()
public java.lang.String getStatusAttribute()
public java.lang.String[] getStatusAttributeChoiceValues()
public java.util.Set getAttributeNames()
public AMAttributeSchema getAttributeSchema(java.lang.String attributeName)
attributeName - the attribute namepublic java.util.Set getAttributeSchemas()
public java.util.Map getAttributeDefaults()
public java.util.Map getReadOnlyAttributeDefaults()
public java.util.Set getSubSchemaNames()
public AMSchema getSubSchema(java.lang.String subSchemaName)
throws AMException
subSchemaName - name of the service's sub schemaAMException -
public void setAttributeDefaults(java.util.Map attrs)
throws AMException
Map - A map of the names of AttributeSchema to modify,
and a Set of Values which should replace the default values
of the current schemaAMException -
public void setAttributeDefaults(java.lang.String attrName,
java.util.Set values)
throws AMException
String - Name of the attribute for which defaults
values need to be replaced.Set - Set of new values to replace the old ones.AMException -
public void removeAttributeDefaults(java.util.Set attrs)
throws AMException
Set - A set of the names of attributeAMException - public java.lang.String getPropertiesViewBeanURL()
public static void addListener(java.lang.String serviceName,
AMServiceListener listener)
throws AMException
serviceName - the name of the servicelistener - the service listenerAMException - if an error is encountered in registering
the listener
public static void removeListener(java.lang.String serviceName,
AMServiceListener listener)
throws AMException
serviceName - the name of the servicelistenerID - the listener registration idAMException - if an error is encountered in unregistering
the listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||