|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
API that handles finding Navigation Tergets (e.g. iViews) according to
client action that is performed over a BusinessObject.
(The APIs of this interface requires IPrincipal object)
The connection between the BusinessObject and the relevant Navigation Targets
is done using an Operation Object.
Operation object is bound under (i.e. Belongs to) a BusinessObject,
while Operations are also implemented by a Terget.
Operation name has the following pattern:
SystemAlias.BusinessObject.Operation.
The first two parts (SystemAlias.BusinessObject)
are the name of the BusinessObject under which the Operation is bound.
All the methods get either the full Operation name or the BusinessObject name,
and using the RoleService to find the Targets that implement the Operation.
| Field Summary | |
static java.lang.String |
KEY
Deprecated. |
| Method Summary | |
IOBNTarget |
getDefaultTarget(java.lang.String systemAlias,
java.lang.String businessObjName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a single pair of <iView, Operation> according to
to the Operation priority.
|
IOBNTarget |
getDefaultTargetForOperation(java.lang.String systemAlias,
java.lang.String businessObjName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a single pair <iView, Operation> according to
to the Operation priority.
|
java.util.List |
getTargets(java.lang.String systemAlias,
java.lang.String businessObjName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a List of iViews that implement any operation belongs to the given BusinessObject. |
java.util.Set |
getTargetsForOperation(java.lang.String systemName,
java.lang.String objectName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a List of iViews that implement the given operation. |
boolean |
isTargetExist(java.lang.String systemAlias,
java.lang.String objectName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a boolean value that indicates if there is any iViews implementing any operation that belongs to the given BusinessObject. |
boolean |
isTargetExistsForOperation(java.lang.String systemAlias,
java.lang.String objectName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
Deprecated. Returns a boolean value that indicates if there is any iViews implementing a specific operation. |
| Methods inherited from interface com.sapportals.portal.prt.service.IService |
afterInit, configure, destroy, getContext, getKey, init, release |
| Field Detail |
public static final java.lang.String KEY
| Method Detail |
public IOBNTarget getDefaultTarget(java.lang.String systemAlias,
java.lang.String businessObjName,
com.sap.security.api.IPrincipal user)
<iView, Operation> according to
to the Operation priority.
The returned pair is chosen according to the following conditions:systemAlias - String [in] -The System alias part of the BusinessObject namebusinessObjName - String [in] - The BusinessObject part of the BusinessObject nameuser - IPrincipal [in]IOBNTarget - The result OBNTarget
public java.util.List getTargets(java.lang.String systemAlias,
java.lang.String businessObjName,
com.sap.security.api.IPrincipal user)
systemAlias - String [in] - The System alias part of the BusinessObject namebusinessObjName - String [in] - The BusinessObject part of the BusinessObject nameuser - IPrincipal [in]List - The list of OBNTargets.
public boolean isTargetExist(java.lang.String systemAlias,
java.lang.String objectName,
com.sap.security.api.IPrincipal user)
systemAlias - String [in] - The System alias part of the BusinessObject namebusinessObjName - String [in] - The BusinessObject part of the BusinessObject nameuser - IPrincipal [in]boolean - true if there is a result and false if not
public boolean isTargetExistsForOperation(java.lang.String systemAlias,
java.lang.String objectName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
systemAlias - String [in] - The System alias part of the BusinessObject namebusinessObjName - String [in] - The BusinessObject part of the BusinessObject nameoperationName - String [in] - The Operation nameuser - IPrincipal [in]boolean - true if there is a result and false if not
public IOBNTarget getDefaultTargetForOperation(java.lang.String systemAlias,
java.lang.String businessObjName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
<iView, Operation> according to
to the Operation priority.
The returned pair is chosen according to the following conditions:systemAlias - String [in] - The System alias part of the Operation full namebusinessObjName - String [in] - The BusinessObject part of the Operationfull nameoperationName - String [in] - The Operation part of the Operationfull nameuser - IPrincipal [in]IOBNTarget - The result OBNTarget
public java.util.Set getTargetsForOperation(java.lang.String systemName,
java.lang.String objectName,
java.lang.String operationName,
com.sap.security.api.IPrincipal user)
throws javax.naming.NamingException
systemAlias - String [in] - The System alias part of the Operation full namebusinessObjName - String [in] - The BusinessObject part of the Operation full nameoperationName - String [in] - The Operation part of the Operation full nameuser - IPrincipal [in]Set - The Set of OBNTargets
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||