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 Definition.Permissions

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

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

public static class Definition.Permissions
extends BasePermissions

A data structure specifying the current user's permissions to an application definition. When included as part of Application.Security, specifies the associated security member permissions to an application definition.

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
Definition.Permissions()
          Default constructor that sets all of the permissions to false.
Definition.Permissions(boolean fullPermissions)
          The constructor that sets all of the permissions to the value of the fullPermissions flag.

 

Method Summary
 boolean getDelete()
          Gets the Delete permission property.
 boolean getGrantAccess()
          Gets the Grant permission property.
 boolean getModify()
          Gets the Modify permission property.
 boolean getView()
          Gets the View permission property.
protected  void prePersist()
           
 void setDelete(boolean delete)
          Sets the Delete permission property.
 void setGrantAccess(boolean grantAccess)
          Sets the Grant permission property.
 void setModify(boolean modify)
          Sets the Modify permission property.
protected  void setupPermissions(boolean fullPermissions)
           
 void setView(boolean view)
          Sets the View 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

Definition.Permissions

public Definition.Permissions()
Default constructor that sets all of the permissions to false.

Definition.Permissions

public Definition.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

protected void setupPermissions(boolean fullPermissions)

prePersist

protected void prePersist()

setGrantAccess

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

getGrantAccess

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

setModify

public void setModify(boolean modify)
Sets the Modify permission property.
Parameters:
modify - The new Modify permission property value.

getModify

public boolean getModify()
Gets the Modify permission property.
Returns:
The Modify 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.

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.

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.