|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceTransition
A IResourceTransition handles everything needed for a document to go from one state to another. It
defines the state that is reached from another specific state and it defines whether the transition is allowed. One
instance of an IResourceTransition handles one transition per resource.
| Method Summary | |
|---|---|
boolean |
execute()
Changes the state of the current resource to the target state of the transition. |
String |
getDescription()
Gets a meaningful lable for the presentation of the transition in the UI. |
String |
getExecMessage()
Gets a message after method execute() has been called. |
String |
getID()
Gets the ID of the transition. |
boolean |
isAllowed()
Checks whether the transition is allowed for the current resource. |
| Method Detail |
|---|
boolean isAllowed()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException - exception raised in failure situation
boolean execute()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException - exception raised in failure situation
String getExecMessage()
throws com.sapportals.wcm.WcmException
execute() has been called.
This method is used by the UI to provide a message for the user after
a transition has been executed.
Returns null if execute() has not yet been called.
com.sapportals.wcm.WcmExceptionString getID()
String getDescription()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||