|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a generic step from a process workflow. It can be an action, block or a whole process.
| Method Summary | |
IGPAdhocActivity |
addAdHocActivity(IGPModifiableActivity activityObject)
Add a reference to the given ActvityObject in the current activity. |
IGPAttachment |
addAttachment(String displayName,
String originalFileName,
String handlerName,
String creator,
byte[] content)
Adds a new attachment to the list. |
void |
addAttachmentId(String id)
Deprecated. use addAttachment() instead. This method will be removed from future releases! |
IGPInfoCallableObject |
addInfoCallableObject(IGPCallableObject infoObject)
Adds a InfoCallable Object to the given activity |
boolean |
isPersisted()
Returns true if the object exists in the database, false otherwise. |
void |
removeAdHocActivity(IGPAdhocActivity adhocActivity)
remove the reference corresponding to the given reference number from the activity |
void |
removeAttachment(String attachmentId)
Removes an attachment object from the list. |
void |
removeInfoCallableObject(IGPInfoCallableObject infoCallableObject)
remove the reference corresponding to the given reference number from the activity |
void |
setAttachmentIdList(String[] list)
Deprecated. directory modify IGPModifiableActivity.getAttachmentList() instead. This method will be removed from future releases! |
void |
setInputMappingGroup(IGPMappingGroup mappingGroup)
Specify mapping from input parameters to local parameters. |
void |
setLocalParameters(IGPStructureInfo structureInfo)
Set the local parameters structure. |
void |
setOutputMappingGroup(IGPMappingGroup mappingGroup)
Specify mapping from local parameters to output parameters. |
| Methods inherited from interface com.sap.caf.eu.gp.base.api.IGPModifiableDevelopmentObject |
addPermission, addToCategory, removeFromCategory, removePermission, removePermission, setDescription, setInputParameters, setOutputParameters, setTitle, validate |
| Methods inherited from interface com.sap.caf.eu.gp.base.api.IGPDevelopmentObject |
getCategories, getDescription, getID, getInputParameters, getMetadata, getOriginalLocale, getOutputParameters, getPermissions, getStatus, getTitle, getType, getVersionNumber, resolveDescription, resolveTitle |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPActivity |
getAdhocActivities, getAssignedCategories, getAttachmentIds, getAttachments, getCreationDate, getCreator, getID, getInfoCallableObjects, getInputMappingGroup, getInputParameters, getLocalParameters, getOutputMappingGroup, getOutputParameters, getParentBlock, getParentProcess, getVersionNumber, isAction, isBlock, resolveDescription, resolveTitle |
| Method Detail |
public void setInputMappingGroup(IGPMappingGroup mappingGroup)
throws GPInvocationException,
GPEngineException
IGPMappingGroup use getInputMappingGroup().
mappingGroup - the mapping to apply
GPInvocationException
GPEngineException
public void setOutputMappingGroup(IGPMappingGroup mappingGroup)
throws GPInvocationException,
GPEngineException
IGPMappingGroup use getOutputMappingGroup().
mappingGroup - the mapping to apply
GPInvocationException
GPEngineException
public void setLocalParameters(IGPStructureInfo structureInfo)
throws GPEngineException,
GPInvocationException
IGPStructureInfo use getLocalParameters().
structureInfo - root of local parameters
GPEngineException
GPInvocationException
public boolean isPersisted()
throws GPEngineException
true if the object exists in the database, false otherwise.
EngineException
GPEngineExceptionpublic void setAttachmentIdList(String[] list)
IGPModifiableActivity.getAttachmentList() instead. This method will be removed from future releases!
list - list containing ID of type Stringpublic void addAttachmentId(String id)
addAttachment() instead. This method will be removed from future releases!
id - new ID
public IGPAttachment addAttachment(String displayName,
String originalFileName,
String handlerName,
String creator,
byte[] content)
throws GPInvocationException,
GPEngineException
displayName - the display name of the attachment.originalFileName - the original file name of the attchment.handlerName - the name of the attachment handler.creator - the unique id of the creator.content - the actual content of the attachment.
InvocationException - if any of the parameters passed is invalid.
EngineException - if an error occurs while creating the attachment.
GPInvocationException
GPEngineExceptioncom.sap.caf.eu.gp.attachment.api.IAttachment
public void removeAttachment(String attachmentId)
throws GPInvocationException,
GPEngineException
Note that the attachment may or may not be physically removed from the underlying store immediately or not. This depends on the actual details of the implementation.
InvocationException - if no attachment with this identifier exists.
EngineException - if an error occurs while removing the attachment.
GPInvocationException
GPEngineException
public IGPInfoCallableObject addInfoCallableObject(IGPCallableObject infoObject)
throws GPInvocationException,
GPEngineException
infoObject - the info callable object to add
IReference object corresponding to the created reference
AlreadyAddedObjectException - when the object was already added.
InvocationException
EngineException
GPInvocationException
GPEngineException
public IGPAdhocActivity addAdHocActivity(IGPModifiableActivity activityObject)
throws GPInvocationException,
GPEngineException
activityObject - the referenced activity object
AlreadyAddedObjectException - when the given was arleady added
InvocationException
EngineException
GPInvocationException
GPEngineException
public void removeAdHocActivity(IGPAdhocActivity adhocActivity)
throws GPInvocationException,
GPEngineException
InvocationException
EngineException
GPInvocationException
GPEngineException
public void removeInfoCallableObject(IGPInfoCallableObject infoCallableObject)
throws GPInvocationException,
GPEngineException
InvocationException
EngineException
GPInvocationException
GPEngineException
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||