com.waveset.object
Class MetaEventResponse.Delete
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.MetaEventResponse
com.waveset.object.MetaEventResponse.Delete
- All Implemented Interfaces:
- javax.naming.Referenceable, XmlObject
- Enclosing class:
- MetaEventResponse
- public static class MetaEventResponse.Delete
- extends MetaEventResponse
A class representing an enable on the IDM user and/or resource accounts.
Field Summary |
static java.lang.String |
ELEMENT
|
static java.lang.String |
TYPE
|
Constructor Summary |
MetaEventResponse.Delete(boolean globalDelete,
boolean globalUnassign,
boolean globalUnlink,
boolean deleteIdmUser,
boolean forceDeleteIdmUser,
java.util.List deleteTargets,
java.util.List unassignTargets,
java.util.List unlinkTargets)
|
MetaEventResponse.Delete(org.w3c.dom.Element e)
|
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
MetaEventResponse.Delete
public MetaEventResponse.Delete(boolean globalDelete,
boolean globalUnassign,
boolean globalUnlink,
boolean deleteIdmUser,
boolean forceDeleteIdmUser,
java.util.List deleteTargets,
java.util.List unassignTargets,
java.util.List unlinkTargets)
throws WavesetException
MetaEventResponse.Delete
public MetaEventResponse.Delete(org.w3c.dom.Element e)
throws WavesetException
getDescription
public Message getDescription()
- Description copied from class:
MetaEventResponse
- Return a description of this response.
- Specified by:
getDescription
in class MetaEventResponse
- Returns:
- A description of this response.
getTypeString
public java.lang.String getTypeString()
- Description copied from class:
MetaEventResponse
- Get a string describing this type of response.
- Specified by:
getTypeString
in class MetaEventResponse
- Returns:
- A string describing this type of response.
getReferences
public java.util.List getReferences()
- Description copied from class:
MetaEventResponse
- Return a possibly-null list of ObjectRefs referenced by this response.
- Specified by:
getReferences
in class MetaEventResponse
- Returns:
- A possibly-null list of ObjectRefs referenced by this response.
isDeleteIdmUser
public boolean isDeleteIdmUser()
- Returns:
- Returns whether to delete the IDM user. This is ignored if
isGlobalDelete() returns true.
isForceDeleteIdmUser
public boolean isForceDeleteIdmUser()
- Returns:
- Returns whether to force deletion of the IDM user. This
deletes the IDM user even if resource accounts are still
linked.
isGlobalDelete
public boolean isGlobalDelete()
- Returns:
- Returns whether all resource accounts and the IDM user should
be deleted.
isGlobalUnassign
public boolean isGlobalUnassign()
- Returns:
- Returns whether all resource accounts should be unassigned.
isGlobalUnlink
public boolean isGlobalUnlink()
- Returns:
- Returns whether all resource accounts should be unlinked.
getDeleteTargets
public java.util.List getDeleteTargets()
- Returns:
- Returns a list of ObjectRefs for the resources to delete.
An empty list if isGlobalDelete() returns true.
getUnassignTargets
public java.util.List getUnassignTargets()
- Returns:
- Returns a list of ObjectRefs for the resources to unassign.
An empty list if isGlobalUnassign() returns true.
getUnlinkTargets
public java.util.List getUnlinkTargets()
- Returns:
- Returns a list of ObjectRefs for the resources to unlink.
An empty list if isGlobalUnlink() returns true.
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
getElementName
public java.lang.String getElementName()
- Description copied from class:
AbstractXmlObject
- Return the element name.
- Specified by:
getElementName
in interface XmlObject
- Specified by:
getElementName
in class AbstractXmlObject
toXml
public void toXml(java.lang.StringBuffer b,
int indent)
- Description copied from class:
AbstractXmlObject
- Serialize into a buffer with optional indentation.
This must be implemented by the subclass.
- Specified by:
toXml
in interface XmlObject
- Specified by:
toXml
in class AbstractXmlObject
parseXml
protected void parseXml(org.w3c.dom.Element e)
throws WavesetException
- Parse the given XML into a Delete response.
- Parameters:
e
- The XML element to parse.
- Throws:
WavesetException