|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Map roles from child elements to parent roles. Used for block roles mapping in IGPModifiableBlock.
| Method Summary | |
Iterator |
getRoleMappings()
Get all role mappings. |
Iterator |
getRoleMappings(String parentRoleName)
Get the role mappings for a given parent role. |
IGPRoleMapping |
mapRole(IGPRoleInfo childRole,
String childId,
IGPRoleInfo parentRole)
Create role mapping and add it to this IGPRoleMap. |
boolean |
unmapRole(IGPRoleMapping mapping)
Remove a given role mapping. |
| Method Detail |
public IGPRoleMapping mapRole(IGPRoleInfo childRole,
String childId,
IGPRoleInfo parentRole)
throws GPInvocationException
IGPRoleMap.
childRole - the technical name of a role in a child IGPBlockStructureItemchildId - id of a child IGPBlockStructureItemparentRole - technical name of a role in the parent IGPBlock
GPInvocationException
public boolean unmapRole(IGPRoleMapping mapping)
throws GPInvocationException
mapping - the mapping to be removed
true if the mapping was found; false otherwise.
GPInvocationExceptionpublic Iterator getRoleMappings()
IGPRoleMapping elementspublic Iterator getRoleMappings(String parentRoleName)
parentRoleName - name of the parent role
IGPRoleMapping elements
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||