SilverStream
Application Server 3.5

com.sssw.rts.acl
Class AgoPermission

java.lang.Object
 |
 +--com.sssw.rts.acl.AgoPermission
All Implemented Interfaces:
Permission

public class AgoPermission
extends Object
implements Permission

This object represents the allowable permissions in the SilverStream security model.


Field Summary
static AgoPermission EXECUTE
          The execute permission.
static AgoPermission PROTECT
          The protect permission.
static AgoPermission READ
          The read permission.
static AgoPermission SELECT
          The select permission.
static AgoPermission WRITE
          The write permission.
 
Constructor Summary
AgoPermission()
           
 
Method Summary
 boolean equals(Object obj)
          Returns true if the object passed matches the permission represented in this interface.
 String toString()
          Prints a string representation of this permission.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READ

public static final AgoPermission READ
The read permission. Lets users look at data but not make modifications.
See Also:
getPermissions(int), setPermissions(Hashtable)

WRITE

public static final AgoPermission WRITE
The write permission. Lets users create and modify content of the object.
See Also:
getPermissions(int), setPermissions(Hashtable)

PROTECT

public static final AgoPermission PROTECT
The protect permission. Lets the user limit who can alter access control on an object (called 'Set Permissions' in the SilverStream Designer).
See Also:
getPermissions(int), setPermissions(Hashtable)

SELECT

public static final AgoPermission SELECT
The select permission. Lets the user set up row-level access on tables using the SilverStream Expression Builder.
See Also:
getPermissions(int), setPermissions(Hashtable)

EXECUTE

public static final AgoPermission EXECUTE
The execute permission. Lets the user invoke a business object or run a page.
See Also:
getPermissions(int), setPermissions(Hashtable)
Constructor Detail

AgoPermission

public AgoPermission()
Method Detail

equals

public final boolean equals(Object obj)
Returns true if the object passed matches the permission represented in this interface.
Specified by:
equals in interface Permission
Overrides:
equals in class Object
Parameters:
obj - the Permission object to compare with.
Returns:
true if the Permission objects are equal, false otherwise
Usage:
This is a method from the java.security.acl.Permission interface.
Example:
AgoPermission perm1 = ...
 AgoPermission perm2 = ...
 // See if two AgoPermission's are equal.
 boolean isEqual = perm1.equals(perm2);
 

toString

public String toString()
Prints a string representation of this permission.
Specified by:
toString in interface Permission
Overrides:
toString in class Object
Returns:
the string representation of the permission.
Usage:
This is a method off the java.security.acl.Permission interface.
Example:
AgoPermission perm1 = ...
 String strPerm = perm1.toString();
 

SilverStream
Application Server 3.5