com.ibm.commerce.accesscontrol.objects
Class PolicyBean

com.ibm.commerce.accesscontrol.objects.PolicyBean
All Implemented Interfaces:
java.io.Serializable

public class PolicyBean
implements java.io.Serializable

This bean provides access to the ACPOLICY table.

The following is a description of this table:

This table stores all the access control policies in the system. Each policy is a row in the policy table. Every policy refers to an action group, a member group, a resource group and optionally a relationship.

See Also:
Serialized Form

Constructor Summary
PolicyBean()
           
 
Method Summary
 int getActionGroupId()
          IBM internal use only.
 java.lang.String getField1()
          This method provides access to the ACPOLICY.FIELD1 column of DB2 type VARCHAR(128) NULL.
 long getOwnerId()
          IBM internal use only.
 int getPolicyId()
          IBM internal use only.
 java.lang.String getPolicyName()
          This method provides access to the ACPOLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.Integer getPolicyType()
          This method provides access to the ACPOLICY.POLICYTYPE column of DB2 type INTEGER NULL.
 java.lang.Integer getRelationId()
          IBM internal use only.
 int getResourceGroupId()
          IBM internal use only.
 long getUserGroupId()
          IBM internal use only.
 void setActionGroupId(int aActionGroupId)
          IBM internal use only.
 void setField1(java.lang.String aField1)
          This method provides access to the ACPOLICY.FIELD1 column of DB2 type VARCHAR(128) NULL.
 void setOwnerId(long aOwnerId)
          IBM internal use only.
 void setPolicyId(int aPolicyId)
          IBM internal use only.
 void setPolicyName(java.lang.String aPolicyName)
          This method provides access to the ACPOLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
 void setPolicyType(java.lang.Integer aPolicyType)
          This method provides access to the ACPOLICY.POLICYTYPE column of DB2 type INTEGER NULL.
 void setRelationId(java.lang.Integer aRelationId)
          IBM internal use only.
 void setResourceGroupId(int aResourceGroupId)
          IBM internal use only.
 void setUserGroupId(long aUserGroupId)
          IBM internal use only.
 

Constructor Detail

PolicyBean

public PolicyBean()
Method Detail

getActionGroupId

public int getActionGroupId()

IBM internal use only.

Returns:
int

getField1

public java.lang.String getField1()

This method provides access to the ACPOLICY.FIELD1 column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getOwnerId

public long getOwnerId()

IBM internal use only.

Returns:
long

getPolicyId

public int getPolicyId()

IBM internal use only.

Returns:
int

getPolicyName

public java.lang.String getPolicyName()

This method provides access to the ACPOLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Name of the policy.

Returns:
java.lang.String

getPolicyType

public java.lang.Integer getPolicyType()

This method provides access to the ACPOLICY.POLICYTYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag is used to distinguish between template policies and default site wide policies. It is an optional field. The value of 1 indicates that it is a template policy, if it is not 1 then it is not a template policy.

Returns:
java.lang.Integer

getRelationId

public java.lang.Integer getRelationId()

IBM internal use only.

Returns:
java.lang.Integer

getResourceGroupId

public int getResourceGroupId()

IBM internal use only.

Returns:
int

getUserGroupId

public long getUserGroupId()

IBM internal use only.

Returns:
long

setActionGroupId

public void setActionGroupId(int aActionGroupId)

IBM internal use only.

Parameters:
aActionGroupId - int
Returns:
void

setField1

public void setField1(java.lang.String aField1)

This method provides access to the ACPOLICY.FIELD1 column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField1 - java.lang.String
Returns:
void

setOwnerId

public void setOwnerId(long aOwnerId)

IBM internal use only.

Parameters:
aOwnerId - long
Returns:
void

setPolicyId

public void setPolicyId(int aPolicyId)

IBM internal use only.

Parameters:
aPolicyId - int
Returns:
void

setPolicyName

public void setPolicyName(java.lang.String aPolicyName)

This method provides access to the ACPOLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Name of the policy.

Parameters:
aPolicyName - java.lang.String
Returns:
void

setPolicyType

public void setPolicyType(java.lang.Integer aPolicyType)

This method provides access to the ACPOLICY.POLICYTYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag is used to distinguish between template policies and default site wide policies. It is an optional field. The value of 1 indicates that it is a template policy, if it is not 1 then it is not a template policy.

Parameters:
aPolicyType - java.lang.Integer
Returns:
void

setRelationId

public void setRelationId(java.lang.Integer aRelationId)

IBM internal use only.

Parameters:
aRelationId - java.lang.Integer
Returns:
void

setResourceGroupId

public void setResourceGroupId(int aResourceGroupId)

IBM internal use only.

Parameters:
aResourceGroupId - int
Returns:
void

setUserGroupId

public void setUserGroupId(long aUserGroupId)

IBM internal use only.

Parameters:
aUserGroupId - long
Returns:
void