|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for reporting the results of a privileges check from a Job
implementation.
Job.checkConfig(com.novell.nds.dirxml.job.JobManager,java.util.Locale)
,
CheckPrivileges
Field Summary |
Fields inherited from interface com.novell.nds.dirxml.job.JobResult |
ABORTED, ERROR, SUCCESS, WARNING |
Method Summary | |
String |
getAttributeName()
Get the attribute name to which the trustee object needs rights. |
int |
getNeededPrivileges()
Get the bit-mapped value that indicates the right(s) that the trustee object needs on the target object. |
DirectoryObject |
getTargetObject()
Return the object to which the trustee object needs rights. |
DirectoryObject |
getTrusteeObject()
Return the object that needs rights to the target object. |
void |
setAttributeName(String attrName)
Set the attribute name to which the trustee object needs rights. |
void |
setNeededPrivileges(int privileges)
Set the bit-mapped value that indicates the right(s) that the trustee object needs on the target object. |
void |
setTargetObject(DirectoryObject target)
Set the object to which the trustee object needs rights. |
void |
setTrusteeObject(DirectoryObject trustee)
Set the object that needs rights to the target object. |
Methods inherited from interface com.novell.nds.dirxml.job.JobResult |
getCode, getLevel, getMessage, getObject, setCode, setLevel, setMessage, setObject |
Method Detail |
public DirectoryObject getTrusteeObject()
public void setTrusteeObject(DirectoryObject trustee)
trustee
- trustee objectpublic DirectoryObject getTargetObject()
JobResult.getObject()
.
public void setTargetObject(DirectoryObject target)
JobResult.setObject
.
target
- target objectpublic String getAttributeName()
"[Entry Rights]"
or
"[All Attribute Rights]"
.
public void setAttributeName(String attrName)
"[Entry Rights]"
or
"[All Attribute Rights]"
.
attrName
- attribute namepublic int getNeededPrivileges()
CheckPrivileges.ATTR_READ
,
CheckPrivileges.ENTRY_BROWSE
, etc.CheckPrivileges
public void setNeededPrivileges(int privileges)
privileges
- any combination of CheckPrivileges.ATTR_READ
,
CheckPrivileges.ENTRY_BROWSE
, etc.)CheckPrivileges
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |