|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.PersistentObject
com.waveset.object.UserEntitlement
UserEntitlement contains a User's account attributes at the time of an Access scan.
Nested Class Summary |
Nested classes inherited from class com.waveset.object.PersistentObject |
PersistentObject.Comparator, PersistentObject.InitialInstance |
Field Summary | |
static java.lang.String |
APPROVED
APPROVED indicates all attestor(s) have approved the UE |
static java.lang.String |
CANCELLED
CANCELLED indicates the Review has been cancelled |
static java.lang.String |
code_id
|
static java.lang.String |
PENDING
PENDING indicates the UE is awaiting action from an attestor |
static java.lang.String |
REJECTED
REJECTED indicates one of the attestors has rejected the UE |
static java.lang.String |
REMEDIATING
REMEDIATING indicates the UE has an associated CV, and is due for change |
Fields inherited from class com.waveset.object.PersistentObject |
_trace, trace |
Constructor Summary | |
UserEntitlement()
Create an entitlement record to be filled by setters |
|
UserEntitlement(org.w3c.dom.Element e)
Flesh out policy object by parsing its XML representation. |
|
UserEntitlement(WSUser user)
Create an entitlement record for a specific user |
Method Summary | |
void |
addAttestationEntry(AttestationEntry entry)
|
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 |
approve()
|
void |
cancel()
|
java.lang.String |
getAccessScanDefinition()
|
java.lang.String |
getAccessScanInstance()
|
java.util.List |
getAttestationEntries()
|
ObjectRef |
getAttestationWorkflow()
|
java.util.List |
getAttestorNames()
|
protected WSAttribute |
getAttributeValues(java.lang.String attrName)
|
java.lang.String |
getParDefinition()
|
java.lang.String |
getParInstance()
|
java.util.Date |
getParStartDate()
|
java.util.Map |
getRuleOutput()
|
java.lang.Object |
getRuleOutput(java.lang.String key)
|
java.lang.String |
getStatus()
|
Type |
getType()
Returns the associated Type object. |
ObjectRef |
getUser()
|
java.util.Map |
getUserView()
|
java.util.List |
listQueryableAttributes()
|
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 |
reject()
|
void |
setAccessScanDefinition(java.lang.String id)
|
void |
setAccessScanInstance(java.lang.String id)
|
void |
setAttestationEntries(java.util.List entries)
|
void |
setAttestationWorkflow(TaskInstance task)
|
void |
setAttestationWorkflowRef(ObjectRef objectRef)
|
void |
setParDefinition(java.lang.String id)
|
void |
setParInstance(java.lang.String id)
|
void |
setParStartDate(java.util.Date startDate)
|
void |
setRuleOutput(java.util.Map results)
|
void |
setStatus(java.lang.String status)
|
void |
setUser(WSUser user)
|
void |
setUserView(java.util.Map userView)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String PENDING
public static final java.lang.String REMEDIATING
public static final java.lang.String APPROVED
public static final java.lang.String REJECTED
public static final java.lang.String CANCELLED
Constructor Detail |
public UserEntitlement()
public UserEntitlement(WSUser user)
public UserEntitlement(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public Type getType()
getType
in class PersistentObject
public ObjectRef getUser()
public void setUser(WSUser user)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public void approve()
public void reject()
public void cancel()
public void setAttestationWorkflow(TaskInstance task)
public void setAttestationWorkflowRef(ObjectRef objectRef)
public ObjectRef getAttestationWorkflow()
public java.lang.String getParDefinition()
public void setParDefinition(java.lang.String id)
public java.lang.String getParInstance()
public void setParInstance(java.lang.String id)
public java.util.Date getParStartDate()
public void setParStartDate(java.util.Date startDate)
public java.lang.String getAccessScanDefinition()
public void setAccessScanDefinition(java.lang.String id)
public java.lang.String getAccessScanInstance()
public void setAccessScanInstance(java.lang.String id)
public java.util.Map getUserView()
public void setUserView(java.util.Map userView)
public java.util.Map getRuleOutput()
public java.lang.Object getRuleOutput(java.lang.String key)
public void setRuleOutput(java.util.Map results)
public java.util.List getAttestationEntries()
public void setAttestationEntries(java.util.List entries)
public void addAttestationEntry(AttestationEntry entry)
public java.util.List getAttestorNames()
public java.util.List listQueryableAttributes()
listQueryableAttributes
in class PersistentObject
defined attributes
that this type of persistent object exposes as queryable attributes
(regardless of whether this particular object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listQueryableAttributes()
to ensure that the subclass includes queryable attributes
that are common to all PersistentObjects.
public java.util.List listSummaryAttributes()
PersistentObject
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.
listSummaryAttributes
in class PersistentObject
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.
Constants.MAX_SUMMARY_STRING_LENGTH
,
PersistentObject.getSummaryString()
protected WSAttribute getAttributeValues(java.lang.String attrName)
getAttributeValues
in class PersistentObject
attrName
- - the name of the attribute for which to return values.
WSAttribute
that represents the value (or values)
that this object contains for the specified attribute
.
protected void addSubclassAttributes(java.lang.StringBuffer b)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.
addSubclassAttributes
in class PersistentObject
protected void addSubclassElements(java.lang.StringBuffer b)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.
addSubclassElements
in class PersistentObject
protected void parseSubclassAttributes(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassAttributes
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
protected void parseSubclassElements(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassElements
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |