Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


oracle.imaging
Class Document.Permissions

java.lang.Object
  extended by oracle.imaging.BasePermissions
      extended by oracle.imaging.Document.Permissions

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Document

public static class Document.Permissions
extends BasePermissions

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.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.imaging.BasePermissions
BasePermissions.Permission

 

Field Summary

 

Fields inherited from class oracle.imaging.BasePermissions
permissionPropertyMap

 

Constructor Summary
Document.Permissions()
          Default constructor that sets all of the permissions to false except 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 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 setupPermissions(boolean fullPermissions)
           
 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
addPermission, convertBoolToShort, convertShortToBool, getKeys, getPermission, setAll, setPermission, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Document.Permissions

public Document.Permissions()
Default constructor that sets all of the permissions to false except for the view permission.

Document.Permissions

public Document.Permissions(boolean fullPermissions)
The constructor that sets all of the permissions to the value of the fullPermissions flag.
Parameters:
fullPermissions - true enables all permissions.

Method Detail

setupPermissions

public void setupPermissions(boolean fullPermissions)

setView

public void setView(boolean view)
Sets the View permission property.
Parameters:
view - The new View permission property value.

getView

public boolean getView()
Gets the View permission property.
Returns:
The View permission property value.

setWrite

public void setWrite(boolean write)
Sets the Write permission property.
Parameters:
write - The new Write permission property value.

getWrite

public boolean getWrite()
Gets the Write permission property.
Returns:
The Write permission property value.

setDelete

public void setDelete(boolean delete)
Sets the Delete permission property.
Parameters:
delete - The new Delete permission property value.

getDelete

public boolean getDelete()
/** Gets the Delete permission property.
Returns:
The Delete permission property value.

setGrantAccess

public void setGrantAccess(boolean grantAccess)
Sets the Grant Access permission property.
Parameters:
grantAccess - The new Grant Access permission property value.

getGrantAccess

public boolean getGrantAccess()
Gets the Grant Access permission property.
Returns:
The Grant Access permission property value.

setLockAdministrator

public void setLockAdministrator(boolean lockAdministrator)
Sets the Lock Administrator permission property.
Parameters:
lockAdministrator - The new Lock Administrator permission property value.

getLockAdministrator

public boolean getLockAdministrator()
Gets the Lock Administrator permission property.
Returns:
The Lock Administrator permission property value.

setAnnotateStandard

public void setAnnotateStandard(boolean annotateStandard)
Sets the AnnotateStandard permission property.
Parameters:
annotateStandard - The new AnnotateStandard permission property value.

getAnnotateStandard

public boolean getAnnotateStandard()
Gets the AnnotateStandard permission property.
Returns:
The AnnotateStandard permission property value.

setAnnotateRestricted

public void setAnnotateRestricted(boolean annotateRestricted)
Sets the AnnotateRestricted permission property.
Parameters:
annotateRestricted - The new AnnotateRestricted permission property value.

getAnnotateRestricted

public boolean getAnnotateRestricted()
Gets the AnnotateRestricted permission property.
Returns:
The AnnotateRestricted permission property value.

setAnnotateHidden

public void setAnnotateHidden(boolean annotateHidden)
Sets the AnnotateHidden permission property.
Parameters:
annotateHidden - The new AnnotateHidden permission property value.

getAnnotateHidden

public boolean getAnnotateHidden()
Gets the AnnotateHidden permission property.
Returns:
The AnnotateHidden permission property value.

Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.