|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a process definition.
| Method Summary | |
void |
addRestrictionPrincipal(IPrincipal principal)
Adds a principal to the restriction list |
IGPModifiableRoleInfo |
addRole(String techName,
String text,
GPRoleType type)
Add a new role with given name, display text and role type. |
String |
getDefaultRuntimeView()
Returns the id of the default runtime view |
IGPModifiableRoleInfo |
getModifiableAdminRole()
Returns the Admin Role for this process |
IGPModifiableRoleInfo |
getModifiableOverseerRole()
Return the Overseer Role for this process |
IGPModifiableRoleInfo |
getModifiableOwnerRole()
Return the Owner Role for this process |
GPProcessMultiplicity |
getProcessMultiplicity()
Get the process multiplicity. |
Iterator |
getRestrictionPrincipals()
Retrieves all principals from the restriction list |
Iterator |
getRuntimeViews()
Returns the list of all views that will be shown at runtime |
boolean |
isAutomaticallyStarted()
Returns true if the process should be automatically started By default, the process is not automatically started |
boolean |
isRestrictDefaultRolePrincipals()
Denotes whether the principals that are assigned to the default roles should be restricted to the set of principals assigned in design time |
void |
removeAllRestrictionPrincipals()
Removes all principals from the restriction list |
IPrincipal |
removeRestrictionPrincipal(String uniqueId)
Removes a principal with a given ID from the restriction list |
void |
setAutomaticallyStartedMode(boolean isAutomaticallyStarted)
Sets whether the process should be automatically started or not. |
void |
setDefaultRuntimeView(String viewID)
Sets the default runtime view |
void |
setProcessMultiplicity(GPProcessMultiplicity multiplicity)
Set the process multiplicity. |
void |
setRuntimeViews(List views)
Sets the list of all views that will be shown at runtime |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPModifiableBlock |
addRole, getBlockType, getModifiableStructure, getRole, getRoleMap, getRoles, removeRole, setHiddenInRuntimeViews |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPModifiableActivity |
addAdHocActivity, addAttachment, addAttachmentId, addInfoCallableObject, isPersisted, removeAdHocActivity, removeAttachment, removeInfoCallableObject, setAttachmentIdList, setInputMappingGroup, setLocalParameters, setOutputMappingGroup |
| 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 |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPBlock |
getRoleInfo, getRoleInfoCount, getStructure, getValidUntilDate, hasAdministratorPermission, hasInstantiatePermission, hasWritePermission, isHiddenInRuntimeViews |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPProcess |
getAdminRole, getOverseerRole, getOwnerRole |
| Method Detail |
public GPProcessMultiplicity getProcessMultiplicity()
GPProcessMultiplicity constants.public void setProcessMultiplicity(GPProcessMultiplicity multiplicity)
multiplicity - one of GPProcessMultiplicity constants.public Iterator getRuntimeViews()
public void setRuntimeViews(List views)
public void setDefaultRuntimeView(String viewID)
public String getDefaultRuntimeView()
public IGPModifiableRoleInfo getModifiableAdminRole()
public IGPModifiableRoleInfo getModifiableOverseerRole()
public IGPModifiableRoleInfo getModifiableOwnerRole()
public IGPModifiableRoleInfo addRole(String techName,
String text,
GPRoleType type)
throws GPInvocationException
techName - role nametext - role texttype - the role type see GPRoleType constants
GPInvocationException - if the techName or the type is unacceptablepublic boolean isRestrictDefaultRolePrincipals()
public void addRestrictionPrincipal(IPrincipal principal)
principal - - the principal to be addedpublic IPrincipal removeRestrictionPrincipal(String uniqueId)
uniqueId - - the unique ID of the principal to be removed
null if not foundpublic void removeAllRestrictionPrincipals()
public Iterator getRestrictionPrincipals()
public boolean isAutomaticallyStarted()
isAutomaticallyStarted in interface IGPProcesspublic void setAutomaticallyStartedMode(boolean isAutomaticallyStarted)
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||