com.waveset.object
Class AccessScan

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.AccessScan
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, XmlObject

public class AccessScan
extends PersistentObject


Nested Class Summary
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
static java.lang.String code_id
           
 
Fields inherited from class com.waveset.object.PersistentObject
_trace, trace
 
Constructor Summary
AccessScan()
          Create an empty object ready for filling.
AccessScan(org.w3c.dom.Element e)
          Flesh out object by parsing its XML representation.
 
Method Summary
 void addAuditPolicyRef(ObjectRef ref)
           
protected  void addSubclassAttributes(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
protected  void addSubclassElements(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
 void addUserScopeRef(ObjectRef ref)
           
 ObjectRef getApprovalWorkflowRef()
           
 java.lang.String getAttestorEscalationRuleName()
           
 ObjectRef getAttestorEscalationRuleRef()
           
 java.lang.String getAttestorRuleName()
           
 ObjectRef getAttestorRuleRef()
           
protected  WSAttribute getAttributeValues(java.lang.String attrName)
           
 java.util.List getAuditPolicies()
           
 java.util.List getAuditPolicyRefs()
           
 java.lang.String getBulkNotificationWorkflowName()
           
 ObjectRef getBulkNotificationWorkflowRef()
           
 java.lang.String getDescription()
           
 int getEscalationCount()
           
 int getEscalationTimeout()
           
 java.lang.String getEscalationUnit()
           
 java.lang.String getPolicyMode()
           
 java.util.ArrayList getReferences()
          Return the list of references within this object.
 ObjectRef getRequiresReviewRuleRef()
           
 java.util.List getResourceRefs()
           
 java.lang.String getReviewProcessOwnerName()
           
 ObjectRef getReviewProcessOwnerRef()
           
 Type getType()
          Returns the associated Type object.
 boolean getUseDelegation()
           
 java.util.List getUserScopeObjectRefs()
           
 java.util.List getUserScopeObjects()
           
 java.lang.String getUserScopeType()
           
 int getViolationLimit()
           
 boolean getViolationRemediation()
           
 boolean isResourceRestriction()
           
 boolean isUserScopeRecursive()
           
 java.util.List listSummaryAttributes()
          Returns the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).
protected  void parseSubclassAttributes(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).
protected  void parseSubclassElements(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).
 void setApprovalWorkflowRef(ObjectRef approvalWorkflowRef)
           
 void setAttestorEscalationRuleRef(java.lang.Object attestorEscalationRule)
           
 void setAttestorRuleRef(java.lang.Object attestorRule)
           
 void setAuditPolicyRef(ObjectRef ref)
           
 void setAuditPolicyRefs(java.util.List auditPolicies)
           
 void setBulkNotificationWorkflowRef(ObjectRef ref)
           
 void setDescription(java.lang.String description)
           
 void setEscalationCount(int count)
           
 void setEscalationTimeout(int timeout)
           
 void setEscalationUnit(java.lang.String unit)
           
 void setPolicyMode(java.lang.String mode)
           
 void setRequiresReviewRuleRef(ObjectRef requiresReviewRuleRef)
           
 void setResourceRefs(java.util.List resourceRefs)
           
 void setResourceRestriction(boolean resourceRestriction)
           
 void setReviewProcessOwnerRef(java.lang.Object reviewProcessOwnerRef)
           
 void setUseDelegation(boolean state)
           
 void setUserScopeObjectRefs(java.util.List userScopeObjectRefs)
           
 void setUserScopeRecursive(boolean userScopeRecursive)
           
 void setUserScopeType(java.lang.String userScopeType)
           
 void setViolationLimit(int limit)
           
 void setViolationRemediation(boolean state)
           
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSummaryAttributes, addXmlHeader, attributesMatch, attributesMatch, attributesMatch, checkReference, checkReferences, clearId, cloneAs, cloneObject, compareTo, create, create, create, create, createLastModItem, createLastModItem, createLastModItemList, directObjectGroupMember, dump, dumpFile, equals, fakeId, getAttribute, getAttributeValues, getAuthReferences, getAuthType, getBasicAttributes, getBasicAttributes, getBasicAttributes, getCache, getCounterValue, getCreateDate, getCreator, getDisplayableName, getDisplayName, getElementName, getEncryptedValues, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryAttributes, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, listQueryableAttributes, listQueryableReferenceAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseXml, parseXml, prepareForSerialization, prepareToSerialize, println, reEncrypt, reEncryptSubclassAttributes, removeMemberObjectGroup, removeProperty, resolve, resolve, resolve, resolveArray, resolveArrayByFetching, resolveObjectReference, resolveObjectReferences, resolveReference, resolveSummaryAttributes, resolveSummaryAttributes, ruleDrivenObjectGroupMemberRef, setAuthType, setAuthType, setCache, setCreateDate, setCreator, setDisplayName, setDisplayName, setHidden, setIsAlias, setLastMod, setLastMod, setLastModDate, setLastModifier, setMemberObjectGroupRef, setMemberObjectGroupRefs, setMemberObjectGroups, setName, setProperties, setProperty, setPropertyList, setProtected, setProtectedFromDelete, setRuleDrivenMembersCache, setSubtype, setTrace, toString, toXml, toXml, toXml, toXmlFile, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

AccessScan

public AccessScan()
Create an empty object ready for filling.


AccessScan

public AccessScan(org.w3c.dom.Element e)
           throws WavesetException
Flesh out object by parsing its XML representation.

Method Detail

listSummaryAttributes

public java.util.List listSummaryAttributes()
Description copied from class: PersistentObject
Returns the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).

Any subclass of PersistentObject that overrides this method should first invoke super.listSummaryAttributes() to ensure that the subclass includes summary attributes that are common to all PersistentObjects.

Any subclass that overrides this implementation must also consider the length of the summary string that will be generated from these attributes.

Overrides:
listSummaryAttributes in class PersistentObject
Returns:
the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).

Any subclass of PersistentObject that overrides this method should first invoke super.listSummaryAttributes() to ensure that the subclass includes summary attributes that are common to all PersistentObjects.

See Also:
Constants.MAX_SUMMARY_STRING_LENGTH, PersistentObject.getSummaryString()

getAttributeValues

protected WSAttribute getAttributeValues(java.lang.String attrName)
Overrides:
getAttributeValues in class PersistentObject
Parameters:
attrName - - the name of the attribute for which to return values.
Returns:
a WSAttribute that represents the value (or values) that this object contains for the specified attribute.


getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getApprovalWorkflowRef

public ObjectRef getApprovalWorkflowRef()

setApprovalWorkflowRef

public void setApprovalWorkflowRef(ObjectRef approvalWorkflowRef)

setAuditPolicyRefs

public void setAuditPolicyRefs(java.util.List auditPolicies)

setAuditPolicyRef

public void setAuditPolicyRef(ObjectRef ref)

getUserScopeType

public java.lang.String getUserScopeType()

setUserScopeType

public void setUserScopeType(java.lang.String userScopeType)

addUserScopeRef

public void addUserScopeRef(ObjectRef ref)

getUserScopeObjectRefs

public java.util.List getUserScopeObjectRefs()

setUserScopeObjectRefs

public void setUserScopeObjectRefs(java.util.List userScopeObjectRefs)

getUserScopeObjects

public java.util.List getUserScopeObjects()
                                   throws WavesetException
Returns:
a List of objects, resolved from getUserScopeObjectRefs
Throws:
WavesetException

addAuditPolicyRef

public void addAuditPolicyRef(ObjectRef ref)

getAuditPolicyRefs

public java.util.List getAuditPolicyRefs()

getAuditPolicies

public java.util.List getAuditPolicies()
                                throws WavesetException
Returns:
a List of Policy objects, resolved from getAuditPolicyRefs
Throws:
WavesetException

getUseDelegation

public boolean getUseDelegation()

setUseDelegation

public void setUseDelegation(boolean state)

getViolationRemediation

public boolean getViolationRemediation()

setViolationRemediation

public void setViolationRemediation(boolean state)

getPolicyMode

public java.lang.String getPolicyMode()

setPolicyMode

public void setPolicyMode(java.lang.String mode)

getRequiresReviewRuleRef

public ObjectRef getRequiresReviewRuleRef()

setRequiresReviewRuleRef

public void setRequiresReviewRuleRef(ObjectRef requiresReviewRuleRef)

getAttestorRuleRef

public ObjectRef getAttestorRuleRef()

getAttestorRuleName

public java.lang.String getAttestorRuleName()

setAttestorRuleRef

public void setAttestorRuleRef(java.lang.Object attestorRule)

getBulkNotificationWorkflowName

public java.lang.String getBulkNotificationWorkflowName()

getBulkNotificationWorkflowRef

public ObjectRef getBulkNotificationWorkflowRef()

setBulkNotificationWorkflowRef

public void setBulkNotificationWorkflowRef(ObjectRef ref)

getReviewProcessOwnerName

public java.lang.String getReviewProcessOwnerName()

getReviewProcessOwnerRef

public ObjectRef getReviewProcessOwnerRef()

setReviewProcessOwnerRef

public void setReviewProcessOwnerRef(java.lang.Object reviewProcessOwnerRef)

getAttestorEscalationRuleRef

public ObjectRef getAttestorEscalationRuleRef()

getAttestorEscalationRuleName

public java.lang.String getAttestorEscalationRuleName()

setAttestorEscalationRuleRef

public void setAttestorEscalationRuleRef(java.lang.Object attestorEscalationRule)

getEscalationTimeout

public int getEscalationTimeout()

setEscalationTimeout

public void setEscalationTimeout(int timeout)

getEscalationCount

public int getEscalationCount()

setEscalationCount

public void setEscalationCount(int count)

getViolationLimit

public int getViolationLimit()

setViolationLimit

public void setViolationLimit(int limit)

getEscalationUnit

public java.lang.String getEscalationUnit()

setEscalationUnit

public void setEscalationUnit(java.lang.String unit)

getReferences

public java.util.ArrayList getReferences()
Return the list of references within this object.

Overrides:
getReferences in class PersistentObject

getType

public Type getType()
Returns the associated Type object.

Specified by:
getType in class PersistentObject

isUserScopeRecursive

public boolean isUserScopeRecursive()

setUserScopeRecursive

public void setUserScopeRecursive(boolean userScopeRecursive)

isResourceRestriction

public boolean isResourceRestriction()

setResourceRestriction

public void setResourceRestriction(boolean resourceRestriction)

getResourceRefs

public java.util.List getResourceRefs()

setResourceRefs

public void setResourceRefs(java.util.List resourceRefs)

addSubclassAttributes

protected void addSubclassAttributes(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.

Overrides:
addSubclassAttributes in class PersistentObject
See Also:


addSubclassElements

protected void addSubclassElements(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.

Overrides:
addSubclassElements in class PersistentObject
See Also:


parseSubclassAttributes

protected void parseSubclassAttributes(org.w3c.dom.Element e)
                                throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassAttributes in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)

parseSubclassElements

protected void parseSubclassElements(org.w3c.dom.Element e)
                              throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassElements in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)