AR System Java API

com.bmc.arsys.api
Class PermissionInfo

java.lang.Object
  extended by com.bmc.arsys.api.PermissionInfo
All Implemented Interfaces:
Serializable, Cloneable

public class PermissionInfo
extends Object
implements Cloneable, Serializable

The PermissionInfo class specifies the permissions for an AR System object. For forms, fields, and containers, you can assign different level of access to different groups.

See Also:
Serialized Form

Constructor Summary
PermissionInfo()
           
PermissionInfo(int id)
           
PermissionInfo(int id, int perm)
           
 
Method Summary
 Object clone()
          Makes a deep copy of the object.
 boolean equals(Object obj)
          Use this method for checking equality.
 int getGroupID()
          Returns the internal ID of the group.
 int getPermissionValue()
          Returns the integer value indicating the access privileges for the group.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setGroupID(int groupID)
          Sets the internal ID of the group
 void setPermissionValue(int permissionValue)
          Sets the integer value indicating the access privileges for the group.
 String toString()
          Returns string.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionInfo

public PermissionInfo()

PermissionInfo

public PermissionInfo(int id)

PermissionInfo

public PermissionInfo(int id,
                      int perm)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Makes a deep copy of the object.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getGroupID

public int getGroupID()
Returns the internal ID of the group.


setGroupID

public void setGroupID(int groupID)
Sets the internal ID of the group

Parameters:
groupID - New group to use

getPermissionValue

public int getPermissionValue()
Returns the integer value indicating the access privileges for the group.

The following constants describe the possible values for forms, and containers:

The following constants describe the possible values for fields:


setPermissionValue

public void setPermissionValue(int permissionValue)
Sets the integer value indicating the access privileges for the group.

The following constants describe the possible values for forms, and containers:

The following constants describe the possible values for fields:


equals

public boolean equals(Object obj)
Use this method for checking equality. The result is true only if the argument is not null and is of same type object representing the same content.

Overrides:
equals in class Object

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Object

toString

public String toString()
Returns string.

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.