|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.action.UwgmAction
super abstract class for all Uwgm actions
Field Summary | |
private RequestContext |
context
Action (request) context |
private boolean |
executeSucceded
internal flag to protect data for unexecuted actions |
private static Log |
log
logging |
private List |
warnings
collection of Warnings (wt.conflict.InfoElement, with wt.conflict.MesgCategory = WARNING |
Constructor Summary | |
protected |
UwgmAction(RequestContext context)
constructor to use from implementations |
Method Summary | |
protected void |
addWarning(InfoElement warning)
|
protected void |
checkExecutionSuccess()
throws action execution, throws IllegalArgumentException if action failed or has not been executed at all |
void |
execute()
|
protected abstract void |
executeAction()
executes action (should be overwritten by implementation action subclasses) |
protected RequestContext |
getContext()
|
InfoElement[] |
getWarnings()
returns List of warning InfoMessages |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final List warnings
private final RequestContext context
private boolean executeSucceded
private static Log log
Constructor Detail |
protected UwgmAction(RequestContext context)
context
- RequestContextMethod Detail |
protected abstract void executeAction() throws UwgmConflictException, UwgmErrorException
UwgmConflictException
UwgmErrorException
public final void execute() throws UwgmConflictException, UwgmErrorException
UwgmConflictException
UwgmErrorException
public final InfoElement[] getWarnings()
protected void checkExecutionSuccess()
protected void addWarning(InfoElement warning)
protected final RequestContext getContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |