| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   oracle.imaging.BasePermissions
oracle.imaging.BasePermissions
       oracle.imaging.Document.Permissions
oracle.imaging.Document.Permissions
public static class Document.Permissions
A data structure specifying a user's permissions to a document within an application. When obtained from the Permissions property of a Document data structure, it specifies the calling user's rights to the given document. When obtained from the Application$DocumentSecurity property on an Application data object, it specifies the document permissions that an associated security member has to documents within that application.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.imaging.BasePermissions | 
|---|
| BasePermissions.Permission | 
| Field Summary | 
|---|
| Fields inherited from class oracle.imaging.BasePermissions | 
|---|
| permissionPropertyMap, propertyPermissionMap | 
| Constructor Summary | |
|---|---|
| Document.Permissions()Default constructor that sets all of the permissions to falseexcept for the view permission. | |
| Document.Permissions(boolean fullPermissions)The constructor that sets all of the permissions to the value of the fullPermissions flag. | |
| Method Summary | |
|---|---|
|  boolean | equals(Document.Permissions other)Indicates whether the permission values set on this match the values set on another instance. | 
|  boolean | getAnnotateHidden()Gets the AnnotateHidden permission property. | 
|  boolean | getAnnotateRestricted()Gets the AnnotateRestricted permission property. | 
|  boolean | getAnnotateStandard()Gets the AnnotateStandard permission property. | 
|  boolean | getDelete()Gets the Delete permission property. | 
|  boolean | getGrantAccess()Gets the Grant Access permission property. | 
|  boolean | getLockAdministrator()Gets the Lock Administrator permission property. | 
|  boolean | getView()Gets the View permission property. | 
|  boolean | getWrite()Gets the Write permission property. | 
|  void | setAnnotateHidden(boolean annotateHidden)Sets the AnnotateHidden permission property. | 
|  void | setAnnotateRestricted(boolean annotateRestricted)Sets the AnnotateRestricted permission property. | 
|  void | setAnnotateStandard(boolean annotateStandard)Sets the AnnotateStandard permission property. | 
|  void | setDelete(boolean delete)Sets the Delete permission property. | 
|  void | setGrantAccess(boolean grantAccess)Sets the Grant Access permission property. | 
|  void | setLockAdministrator(boolean lockAdministrator)Sets the Lock Administrator permission property. | 
|  void | setView(boolean view)Sets the View permission property. | 
|  void | setWrite(boolean write)Sets the Write permission property. | 
| Methods inherited from class oracle.imaging.BasePermissions | 
|---|
| addPermissions, convertBoolToShort, convertShortToBool, getKeys, getPermission, setAll, setPermission, toEnum, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Document.Permissions()
false except for the view permission.public Document.Permissions(boolean fullPermissions)
fullPermissions - true enables all permissions.| Method Detail | 
|---|
public void setView(boolean view)
view - The new View permission property value.public boolean getView()
public void setWrite(boolean write)
write - The new Write permission property value.public boolean getWrite()
public void setDelete(boolean delete)
delete - The new Delete permission property value.public boolean getDelete()
public void setGrantAccess(boolean grantAccess)
grantAccess - The new Grant Access permission property value.public boolean getGrantAccess()
public void setLockAdministrator(boolean lockAdministrator)
lockAdministrator - The new Lock Administrator permission property value.public boolean getLockAdministrator()
public void setAnnotateStandard(boolean annotateStandard)
annotateStandard - The new AnnotateStandard permission property value.public boolean getAnnotateStandard()
public void setAnnotateRestricted(boolean annotateRestricted)
annotateRestricted - The new AnnotateRestricted permission property value.public boolean getAnnotateRestricted()
public void setAnnotateHidden(boolean annotateHidden)
annotateHidden - The new AnnotateHidden permission property value.public boolean getAnnotateHidden()
public boolean equals(Document.Permissions other)
other -| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||