|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sap.portal.obn.service.
public interface IRolesOBN
The interface that handles finding navigation targets according to
client action that is performed over a business object.
The methods of this interface require an IPrincipal object.
All methods get either the full operation name or the business object name. The role service is
used to identify the user's role and to find the targets.
An operation object connects between the business object and the relevant navigation targets.
An operation object is bound under a business object, while operations are implemented by a target.
An example of a navigation target is an iView.
An operation name has the following format: SystemAlias.BusinessObject.Operation
| Field Summary | |
|---|---|
static String |
KEY
Deprecated. The service key. |
| Method Summary | |
|---|---|
IOBNTarget |
getDefaultTarget(String systemAlias,
String objectName,
String operationName,
IPortalComponentRequest request,
List roles)
Deprecated. |
IOBNTarget |
getDefaultTarget(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles,
Locale locale)
Deprecated. |
List |
getTargets(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles,
Locale locale)
Deprecated. |
boolean |
isTargetExist(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles)
Deprecated. |
| Field Detail |
|---|
static final String KEY
| Method Detail |
|---|
IOBNTarget getDefaultTarget(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles,
Locale locale)
<iView, Operation> according to
to the operation priority.
systemAlias - system alias part of the business object nameobjectName - businessObject part of the business object nameoperationName - operation part of the operation full name; if null, searches all operationsuser - portal userroles - list of IRole objects to search in; if null, searches all user-assigned roleslocale - locale is needed to extract the locale operation friendly name
IOBNTarget getDefaultTarget(String systemAlias,
String objectName,
String operationName,
IPortalComponentRequest request,
List roles)
getDefaultTarget(String, String, String, IPrincipal, List, Locale), but requires an IPortalComponentRequest instead of an IPrincipal and Locale.
systemAlias - system alias part of the business object nameobjectName - businessObject part of the business object nameoperationName - operation part of the operation full name; if null, searches all operationsroles - list of IRole objects to search in; if null, searches all user-assigned rolesrequest - an IPortalComponentRequest for extracting the IPrincipal and Locale
List getTargets(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles,
Locale locale)
systemAlias - system alias part of the business object nameobjectName - business object part of the business object nameoperationName - operation part of the operation full name; if null, searches all operationsuser - portal userroles - list of IRole objects to search in; if null, search is done in all user-assigned roleslocale - locale is needed to extract the operation friendly name
IOBNTarget objects
boolean isTargetExist(String systemAlias,
String objectName,
String operationName,
com.sap.security.api.IPrincipal user,
List roles)
getDefaultTarget() and getTargets().
systemAlias - system alias part of the business object nameobjectName - business object part of the business object nameoperationName - operation part of the operation full name; if null, searches all operationsroles - list of IRole objects to search in; if null, than search is done in all user-assigned rolesuser - portal user
true if there is an iView implementing any operation that belongs to the specified business object| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||