|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.command.Command
com.sapportals.wcm.command.Macro
public class Macro
Describe here.
Copyright 2004 SAP AG
| Constructor Summary | |
|---|---|
Macro()
|
|
| Method Summary | |
|---|---|
void |
add(Command command)
Add a command to the macro |
protected boolean |
canExecuteImpl()
Returns true if at least one sub commands can be executed. |
protected void |
executeImpl()
The macro executes all of it's sub commands. |
ArrayList |
getCommands()
|
ArrayList |
getFailedCommands()
|
ArrayList |
getForbiddenCommands()
|
protected boolean |
isAccessibleImpl()
Returns true only if all sub commands are accessible. |
protected boolean |
isSupportedImpl()
Returns true only if all sub commands are supported. |
protected void |
validateImpl()
nothing to validate |
| Methods inherited from class com.sapportals.wcm.command.Command |
|---|
canExecute, canExecuteDefaultImpl, execute, failed, getMessage, getMessageKey, getRootCauseException, isAccessible, isSupported, isSystemError, setMessage, setMessageKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Macro()
| Method Detail |
|---|
public ArrayList getCommands()
public ArrayList getFailedCommands()
public ArrayList getForbiddenCommands()
protected void executeImpl()
throws Exception
macro.execute() method is not an transaction! If one
command fails, the execution is continued, but the macro will be in error state after execution.
The failed commands can be accessed by macro.getFailedCommands() list.
The forbidden commands can be accessed by macro.getForbiddenCommands() list.
- Specified by:
executeImpl in class Command
- Throws:
Exception
protected boolean canExecuteImpl()
throws WcmException
canExecuteImpl in class CommandWcmException - Must be handled by caller!
Review-reader Dirk Sabiwalsky
Review-date 2001/11/26
protected boolean isAccessibleImpl()
throws WcmException
isAccessibleImpl in class CommandWcmException - Must be handled by caller!
Review-reader Dirk Sabiwalsky
Review-date 2001/11/26
protected boolean isSupportedImpl()
throws WcmException
isSupportedImpl in class CommandWcmException - Must be handled by caller!
Review-reader Dirk Sabiwalsky
Review-date 2001/11/26
protected void validateImpl()
throws ValidationException
validateImpl in class CommandValidationException - Review-reader Dirk Sabiwalsky
Review-date 2001/11/26
public final void add(Command command)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||