|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the schema service interface for reading and writing to and from NDS.
All schema modifications should be made through SchemaDefinition. This interface provides methods to get the SchemaDefinition and attribute and class definitions. Applications should never use this interface directly to modify the schema.
SchemaDefinition| Method Summary | |
void |
deleteAttributeDefinition(AttributeDefinition attributeDef)
Deletes the attribute definition from NDS. |
void |
deleteClassDefinition(ClassDefinition classDef)
Deletes the class definition from NDS. |
AttributeDefinition |
getAttributeDefinition(java.lang.String attrName)
Returns the definition for a specific attribute. |
ClassDefinition |
getClassDefinition(java.lang.String className)
Returns the definition for a specific class. |
com.novell.application.console.snapin.ObjectType |
getObjectType(java.lang.String className)
Returns an ObjectType object for a specific class. |
SchemaDefinition |
getSchemaDefinition()
Returns the schema definition from NDS. |
void |
modifyClassDefinition(ClassDefinition classDef)
Modifies the class definition in NDS. |
void |
refreshSchema()
Forces the entire schema to be re-read from NDS. |
void |
writeAttributeDefinition(AttributeDefinition attributeDef)
Writes the attribute definition to NDS. |
void |
writeClassDefinition(ClassDefinition classDef)
Writes the class definition to NDS. |
| Method Detail |
public com.novell.application.console.snapin.ObjectType getObjectType(java.lang.String className)
throws SPIException
className - The name of the class.public ClassDefinition getClassDefinition(java.lang.String className)
throws SPIException
className - The name of the class.SchemaDefinition.getClassDefinition(String)public AttributeDefinition getAttributeDefinition(java.lang.String attrName)
throws SPIException
attrName - The name of the attribute.DefaultSchemaDefinition.getAttributeDefinition(String)public SchemaDefinition getSchemaDefinition()
throws SPIException
public void refreshSchema()
public void writeAttributeDefinition(AttributeDefinition attributeDef)
throws SPIException
attributeDef - The attribute definition.public void deleteAttributeDefinition(AttributeDefinition attributeDef)
throws SPIException
attributeDef - The attribute definition.public void modifyClassDefinition(ClassDefinition classDef)
throws SPIException
classDef - The class definition.public void writeClassDefinition(ClassDefinition classDef)
throws SPIException
classDef - The class definition.public void deleteClassDefinition(ClassDefinition classDef)
throws SPIException
classDef - The class definition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||