|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGPModifiableRoleInfo
Represents a role. Roles are used to define processors for various activities.
An IGPAction has a single default role.
An IGPBlock has a collection of roles. If not modified, the block roles should be the union of all the roles of its children.
The name of the role serves as its identifier. It is specified at creation time and cannot be modified.
The action role will be created by adding the action to a block structure. Its name will be the action technical name.
The action role is accessible trough IGPModifiableAction.getActionRole()
The block roles can be created or deleted through the IGPModifiableBlock interface.
By adding a new child to the block, its roles should be copied automatically to the parent.
Further a mapping could be defined from child roles to parent roles in order to consolidate the processors of the block.
This is done trough the IGPRoleMap interface.
| Field Summary | |
|---|---|
static String |
ROLE_ADMIN_TEXT
|
static String |
ROLE_OVERSEER_TEXT
|
static String |
ROLE_OWNER_TEXT
|
static String |
ROLE_TYPE_ADMIN
|
static String |
ROLE_TYPE_OVERSEER
|
static String |
ROLE_TYPE_OWNER
|
| Fields inherited from interface com.sap.caf.eu.gp.process.api.IGPRoleInfo |
|---|
ROLE_TYPE_INITIATION_DEFINED, ROLE_TYPE_INITIATOR, ROLE_TYPE_RT_DEFINED |
| Method Summary | |
|---|---|
void |
addDefault(IPrincipal principal)
A default user for the role |
void |
deleteDefault(String principalId)
Remove the default user of the role. |
void |
deleteDefaults()
Remove all defaults defined for the role |
IPrincipal |
getDefaultPrincipal(String principalId)
Returns the IPrincipal corresponding the given Id, if it exists. |
Iterator |
getDefaults()
Returns an Enumeration of IPrincipal that are assigned for this role |
IGPMappingRule |
getFilledFromContextParam()
Gets the context parameter from which this role should be filled |
boolean |
isDefaultDefinitionRequired()
Returns if a set of defaults has to be defined. |
boolean |
isExceptionHandlerDedicated()
|
boolean |
isFilledFromContextParam()
Shows the type of this role |
void |
setDefaults(Iterator principals)
Sets a set of IPrincipal as new Defaults for the role |
boolean |
setIsDefaultDefinitionRequired(boolean setDefault)
Sets whether defaults have to be defined for this role or not. |
void |
setIsOverWriteAllowed(boolean isOverWrite)
Sets whether the defined defaults can be overwritten or not. |
void |
setRoleID(String id)
Set the Id for the role |
void |
setRoleType(GPRoleType roleType)
Sets the role type. |
void |
setText(String txt)
|
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPRoleInfo |
|---|
getRoleID, getRoleName, getText, getType, isOverWriteAllowed |
| Field Detail |
|---|
static final String ROLE_TYPE_ADMIN
static final String ROLE_TYPE_OVERSEER
static final String ROLE_TYPE_OWNER
static final String ROLE_ADMIN_TEXT
static final String ROLE_OVERSEER_TEXT
static final String ROLE_OWNER_TEXT
| Method Detail |
|---|
void setRoleID(String id)
void setIsOverWriteAllowed(boolean isOverWrite)
isOverWrite - Iterator getDefaults()
Enumeration of IPrincipal that are assigned for this role
void deleteDefaults()
throws GPInvocationException
InvocationException
GPInvocationException
void addDefault(IPrincipal principal)
throws GPInvocationException
GPInvocationExceptionvoid setDefaults(Iterator principals)
IPrincipal as new Defaults for the role
IPrincipal getDefaultPrincipal(String principalId)
IPrincipal corresponding the given Id, if it exists.
void deleteDefault(String principalId)
boolean isDefaultDefinitionRequired()
boolean setIsDefaultDefinitionRequired(boolean setDefault)
void setRoleType(GPRoleType roleType)
boolean isExceptionHandlerDedicated()
IGPMappingRule getFilledFromContextParam()
boolean isFilledFromContextParam()
isFilledFromContextParam in interface IGPRoleInfo
void setText(String txt)
throws GPInvocationException,
GPEngineException
GPInvocationException
GPEngineException
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||