|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.thortech.xl.vo.AccessPolicyResourceData
public class AccessPolicyResourceData
Value object for the Access Policy Data
| Constructor Summary | |
|---|---|
AccessPolicyResourceData(long objectKey, java.lang.String objectName, long formDefinitionKey, java.lang.String formDefinitionName, java.lang.String frmType)Constructor |
|
| Method Summary | |
|---|---|
PolicyChildTableRecord |
addChildTableRecord(java.lang.String tableKey, java.lang.String tableName, java.lang.String action, java.util.HashMap recordValues)Add Child Table Record and Action Type |
PolicyChildTableRecord[] |
getChildTableRecords(java.lang.String tableKey)Get all the Child Table Records for a particular child table |
java.util.HashMap |
getChildTables()Get all Child Tables for which data has been provided |
java.util.HashMap |
getFormData()Returns all the data set for the parent form |
long |
getFormDefinitionKey()Returns the key of the form definition for which data is specified |
java.lang.String |
getFormName()Returns the name of the form for which data is specified |
java.lang.String |
getFormType()Returns the type of the form for which data is specified |
long |
getObjectKey()Returns the key of the object for which data is specified |
java.lang.String |
getObjectName()Returns the name of the object for which data is specified |
java.lang.String |
getValue(java.lang.String fieldName)Gets the value for specified field from the form data |
void |
removeChildTableRecord(java.lang.String tableKey, PolicyChildTableRecord record)Remove a Child Table Record from the value object |
void |
setFormData(java.util.HashMap parentFormData)Sets the data for the parent form |
void |
setValue(java.lang.String fieldName, java.lang.String value)Sets the value for specified field in the form data |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessPolicyResourceData(long objectKey,
java.lang.String objectName,
long formDefinitionKey,
java.lang.String formDefinitionName,
java.lang.String frmType)
objectKey - Resource Object KeyobjectName - Resource Object NameformDefinitionKey - Key of the parent formformDefinitionName - Name of the parent formfrmType - form type| Method Detail |
|---|
public java.util.HashMap getFormData()
public void setFormData(java.util.HashMap parentFormData)
parentFormData - HashMap representing the record. Key is the column name, Value is the column value
public PolicyChildTableRecord addChildTableRecord(java.lang.String tableKey,
java.lang.String tableName,
java.lang.String action,
java.util.HashMap recordValues)
tableKey - child tbale key to which record is addedtableName - child tbale name to which record is addedaction - action indicates whether you want to add/delete a child table record. the values that should be provided are Add OR DeleterecordValues - child table record data
public void removeChildTableRecord(java.lang.String tableKey,
PolicyChildTableRecord record)
tableKey - table from which the record should be deletedrecord -public PolicyChildTableRecord[] getChildTableRecords(java.lang.String tableKey)
tableKey -public java.util.HashMap getChildTables()
public void setValue(java.lang.String fieldName,
java.lang.String value)
fieldName - name of the field in the formvalue - value to be setpublic java.lang.String getValue(java.lang.String fieldName)
fieldName - fieldName for which to retreive the form datapublic long getObjectKey()
public java.lang.String getObjectName()
public long getFormDefinitionKey()
public java.lang.String getFormName()
public java.lang.String getFormType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||