|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.NSObject
com.novell.admin.ns.DefaultNSObject
com.novell.admin.ns.ldap.LDAPNSObject
Memory model for objects stored in a namespace.
This model allows applications to access and modify all elements associated with a directory object. Use this class to retrieve elements such as attributes, flags, and schema definitions for an object.
| Field Summary |
| Fields inherited from class com.novell.admin.ns.DefaultNSObject |
addedAttributeDefinitions, namespace, objectEntry |
| Fields inherited from class com.novell.admin.ns.NSObject |
addedAttributes, attributes, classDefinition, deletedAttributes, modifiedAttributes, propertyListeners, revision |
| Constructor Summary | |
LDAPNSObject(ObjectEntry objEntry,
java.util.Vector initialAttributes,
long rev)
Constructor. |
|
| Method Summary | |
boolean |
addAuxiliaryClassDefinition(ClassDefinition classDef,
ObjectAttribute[] attributes)
Adds an auxiliary class definition. |
NSObject |
clone(ObjectEntry newIdentity)
Creates an exact duplicate of this NSObject but gives it a new identity. |
boolean |
deleteAuxiliaryClassDefinition(ClassDefinition classDef)
Deletes an auxiliary class definition. |
void |
initObjectClassAttribute(LDAPObjectAttribute objClassAttr)
Sets the object class attribute in the NSObject |
| Methods inherited from class com.novell.admin.ns.NSObject |
clone |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LDAPNSObject(ObjectEntry objEntry,
java.util.Vector initialAttributes,
long rev)
objEntry - The object entry representation.initialAttributes - A Vector of ObjectAttributes.rev - The object's revision number.| Method Detail |
public boolean addAuxiliaryClassDefinition(ClassDefinition classDef,
ObjectAttribute[] attributes)
throws NamespaceException
addAuxiliaryClassDefinition in class DefaultNSObjectclassDef - The class definition to add.attributes - The attributes to add.
The only attributes that will be added are those that are not currently valued. If attributes are valued, please modify the value instead of trying to add the attribute.
NamespaceException - No rights to add the class.public NSObject clone(ObjectEntry newIdentity)
throws NamespaceException
clone in class DefaultNSObjectnewIdentity - The ObjectEntry whos identity is assumed.
NamespaceException - NamespaceException.OBJECTTYPE_NOT_VALID is
thrown if the newIdentity's type is different from this.public boolean deleteAuxiliaryClassDefinition(ClassDefinition classDef)
throws NamespaceException
deleteAuxiliaryClassDefinition in class DefaultNSObjectclassDef - The class definition to delete.
NamespaceException - No rights to remove the class.public void initObjectClassAttribute(LDAPObjectAttribute objClassAttr)
objClassAttr - The value of the "objectClass" attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||