de.uplanet.lucy.security.permission
Class DatagroupPermission

java.lang.Object
  extended by java.security.Permission
      extended by de.uplanet.lucy.security.permission.DatagroupPermission
All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission, java.io.Serializable, java.security.Guard

@Scriptable
public final class DatagroupPermission
extends java.security.Permission
implements de.uplanet.lucy.security.permission.IIntrexxPermission

Version:
$Revision: 82243 $
See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_CREATE
          "create"
static java.lang.String ACTION_DELETE
          "delete"
static java.lang.String ACTION_DELETE_OWN
          "delete-own"
static java.lang.String ACTION_READ
          "read"
static java.lang.String ACTION_READ_OWN
          "read-own"
static java.lang.String ACTION_WRITE
          "write"
static java.lang.String ACTION_WRITE_OWN
          "write-own"
static java.lang.String ALL_DATAGROUPS
          "<all datagroups>"
 
Constructor Summary
DatagroupPermission(java.lang.String p_strName, java.lang.String p_strActions)
          Construct a DatagroupPermission.
 
Method Summary
 boolean equals(java.lang.Object p_obj)
           
 java.lang.String getActions()
           
 int hashCode()
           
 boolean implies(java.security.Permission p_perm)
           
 java.security.PermissionCollection newPermissionCollection()
           
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_DATAGROUPS

public static final java.lang.String ALL_DATAGROUPS
"<all datagroups>"

See Also:
Constant Field Values

ACTION_READ

public static final java.lang.String ACTION_READ
"read"

See Also:
Constant Field Values

ACTION_WRITE

public static final java.lang.String ACTION_WRITE
"write"

See Also:
Constant Field Values

ACTION_CREATE

public static final java.lang.String ACTION_CREATE
"create"

See Also:
Constant Field Values

ACTION_DELETE

public static final java.lang.String ACTION_DELETE
"delete"

See Also:
Constant Field Values

ACTION_READ_OWN

public static final java.lang.String ACTION_READ_OWN
"read-own"

See Also:
Constant Field Values

ACTION_WRITE_OWN

public static final java.lang.String ACTION_WRITE_OWN
"write-own"

See Also:
Constant Field Values

ACTION_DELETE_OWN

public static final java.lang.String ACTION_DELETE_OWN
"delete-own"

See Also:
Constant Field Values
Constructor Detail

DatagroupPermission

public DatagroupPermission(java.lang.String p_strName,
                           java.lang.String p_strActions)
Construct a DatagroupPermission.

Method Detail

getActions

public java.lang.String getActions()
Specified by:
getActions in class java.security.Permission

hashCode

public int hashCode()
Specified by:
hashCode in class java.security.Permission

implies

public boolean implies(java.security.Permission p_perm)
Specified by:
implies in class java.security.Permission

equals

public boolean equals(java.lang.Object p_obj)
Specified by:
equals in class java.security.Permission

newPermissionCollection

public java.security.PermissionCollection newPermissionCollection()
Overrides:
newPermissionCollection in class java.security.Permission


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.