com.novell.admin.ns.nds
Class ObjectACLFacade
java.lang.Object
|
+--com.novell.admin.ns.ValueListFacade
|
+--com.novell.admin.ns.nds.ObjectACLFacade
- public final class ObjectACLFacade
- extends ValueListFacade
Facade for NDS Object ACL syntax.
|
Method Summary |
static ValueList |
createValueList(java.lang.String protectedAttrName,
java.lang.String subjectName,
long privileges)
Creates an NDS Object ACL ValueList. |
long |
getPrivileges()
Retrieves the access control privileges. |
java.lang.String |
getProtectedAttrName()
Retrieves the protected attribute name. |
java.lang.String |
getSubjectName()
Retrieves the subject name. |
void |
setPrivileges(long privileges)
Sets the access control privileges. |
void |
setProtectedAttrName(java.lang.String name)
Sets the protected attribute name. |
void |
setSubjectName(java.lang.String name)
Sets the subject name. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ObjectACLFacade
public ObjectACLFacade(ValueList comp)
throws IncompatibleComponentException
- Facade constructor.
- Parameters:
comp - The ValueList that represents the NDS Object ACL data.- Throws:
- IncompatibleComponentException - Thrown if the ValueList syntax is
not NDSSyntax.SYN_OBJECT_ACL.
createValueList
public static ValueList createValueList(java.lang.String protectedAttrName,
java.lang.String subjectName,
long privileges)
- Creates an NDS Object ACL ValueList.
- Parameters:
protectedAttrName - Refer to NDS Schema Reference.subjectName - Refer to NDS Schema Reference.privileges - Refer to NDS Schema Reference.- Returns:
- A new Object ACL ValueList.
getProtectedAttrName
public java.lang.String getProtectedAttrName()
- Retrieves the protected attribute name.
- Returns:
- The name of the protected attribute.
getSubjectName
public java.lang.String getSubjectName()
- Retrieves the subject name.
- Returns:
- The name of the subject.
getPrivileges
public long getPrivileges()
- Retrieves the access control privileges.
- Returns:
- The privileges.
setProtectedAttrName
public void setProtectedAttrName(java.lang.String name)
- Sets the protected attribute name.
- Parameters:
name - The name of the protected attribute.
setSubjectName
public void setSubjectName(java.lang.String name)
- Sets the subject name.
- Parameters:
name - The name of the subject.- Throws:
- FacadeParameterException - Can not set to the value requested.
setPrivileges
public void setPrivileges(long privileges)
- Sets the access control privileges.
- Parameters:
name - The privileges.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.