|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.enterprise.EnterpriseServiceEvent
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private RevisionControlled |
copy
|
private CopyMultiRules |
copyMultiRules
|
private CopyObjectInfo[] |
copyObjectInfo
|
private Map |
copyRuleMap
|
private CopyRules |
copyRules
|
private RevisionControlled |
original
|
static String |
POST_COPY
A constant that defines an event key that marks the steps after the persisting the copied object. |
static String |
POST_MULTI_COPY
A constant that defines an event key that marks the steps after the persisting the copied object. |
static String |
PRE_COPY
A constant that defines an event key that marks the steps prior to persisting the copied object. |
static String |
PRE_MULTI_COPY
A constant that defines an event key that marks the steps prior to persisting the copied object. |
private static String |
RESOURCE
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
EnterpriseServiceEvent(String eventType,
CopyObjectInfo[] copyInformation,
CopyMultiRules copyMultiRules)
Constructs a EnterpriseServiceEvent instance. |
|
EnterpriseServiceEvent(String eventType,
RevisionControlled original,
RevisionControlled copy,
CopyRules copyRules)
Constructs a EnterpriseServiceEvent instance. |
|
EnterpriseServiceEvent(String eventType,
WTKeyedMap eventTarget,
Map copyRuleMap)
Constructs a EnterpriseServiceEvent instance. |
Method Summary | |
static String |
generateEventKey(String event_type)
Helper function used to generate the event key from the event type Supported API: false |
RevisionControlled |
getCopy()
Gets the value of the attribute: copy; The new copy of the object. |
CopyMultiRules |
getCopyMultiRules()
Gets the value of the attribute: copyMultiRules; Rules used for this multi-copy. |
CopyObjectInfo[] |
getCopyObjectInfo()
Gets the value of the attribute: copyObjectInfo; Contains the original, copy, and rules for each multi-copy object. |
Map |
getCopyRuleMap()
Gets the value of the attribute: copyRuleMap; Rules used for this copy. |
CopyRules |
getCopyRules()
Gets the value of the attribute: copyRules; Rules used for this copy. |
RevisionControlled |
getOriginal()
Gets the value of the attribute: original; The original object to be copied. |
WTKeyedMap |
getTargetMap()
Supported API: false |
void |
setCopy(RevisionControlled a_Copy)
Sets the value of the attribute: copy; The new copy of the object. |
void |
setCopyMultiRules(CopyMultiRules a_CopyMultiRules)
Sets the value of the attribute: copyMultiRules; Rules used for this multi-copy. |
void |
setCopyObjectInfo(CopyObjectInfo[] a_CopyObjectInfo)
Sets the value of the attribute: copyObjectInfo; Contains the original, copy, and rules for each multi-copy object. |
void |
setCopyRuleMap(Map a_CopyRuleMap)
Sets the value of the attribute: copyRuleMap; Rules used for this copy. |
void |
setCopyRules(CopyRules a_CopyRules)
Sets the value of the attribute: copyRules; Rules used for this copy. |
void |
setOriginal(RevisionControlled a_Original)
Sets the value of the attribute: original; The original object to be copied. |
KeyedEvent |
toMultiObjectEvent()
This is a no-op since this class already has support for multi-object operations. |
KeyedEvent[] |
toSingleObjectEvents()
This is a no-op since this class already has support for multi-object operations. |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String PRE_COPY
public static final String POST_COPY
private RevisionControlled original
private RevisionControlled copy
private CopyRules copyRules
private Map copyRuleMap
public static final String PRE_MULTI_COPY
public static final String POST_MULTI_COPY
private CopyObjectInfo[] copyObjectInfo
private CopyMultiRules copyMultiRules
Constructor Detail |
public EnterpriseServiceEvent(String eventType, CopyObjectInfo[] copyInformation, CopyMultiRules copyMultiRules)
eventType
- copyInformation
- Contains the original, copy and rules for each object to be copied.copyMultiRules
- Rules used for this multi-copy.public EnterpriseServiceEvent(String eventType, RevisionControlled original, RevisionControlled copy, CopyRules copyRules)
eventType
- original
- The original object to be copied.copy
- The new copy of the object.copyRules
- Rules used for this copy.public EnterpriseServiceEvent(String eventType, WTKeyedMap eventTarget, Map copyRuleMap)
eventType
- eventTarget
- A map where the key is the original and the value is the copy.copyRuleMap
- A map where the key is an ObjectReference to the original and the values is the CopyRules.Method Detail |
public RevisionControlled getOriginal()
public void setOriginal(RevisionControlled a_Original) throws WTPropertyVetoException
a_Original
-
WTPropertyVetoException
public RevisionControlled getCopy()
public void setCopy(RevisionControlled a_Copy) throws WTPropertyVetoException
a_Copy
-
WTPropertyVetoException
public CopyRules getCopyRules()
public void setCopyRules(CopyRules a_CopyRules) throws WTPropertyVetoException
a_CopyRules
-
WTPropertyVetoException
public Map getCopyRuleMap()
public void setCopyRuleMap(Map a_CopyRuleMap) throws WTPropertyVetoException
a_CopyRuleMap
-
WTPropertyVetoException
public CopyObjectInfo[] getCopyObjectInfo()
public void setCopyObjectInfo(CopyObjectInfo[] a_CopyObjectInfo) throws WTPropertyVetoException
a_CopyObjectInfo
-
WTPropertyVetoException
public CopyMultiRules getCopyMultiRules()
public void setCopyMultiRules(CopyMultiRules a_CopyMultiRules) throws WTPropertyVetoException
a_CopyMultiRules
-
WTPropertyVetoException
public static String generateEventKey(String event_type)
event_type
-
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
public WTKeyedMap getTargetMap()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |