|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBusinessObject
A semantic object that represents a business object in the PCD.
IBusinessObject exposes APIs for handling the business object data including the maintenance of its operations.
All business objects are persisted in the PCD under Business_Objects folder.
A business object can be either of BusinessObjectType.BUSINESS_OBJECT_TYPE_SYSTEM type or BusinessObjectType.BUSINESS_OBJECT_TYPE_CONTEXT type.
For more information see BusinessObjectType.
| Method Summary | |
|---|---|
String |
getAuxiliaryKey(int index)
Returns the key of the auxiliary variable that corresponds to the given index |
String |
getAuxiliaryValue(int index)
Returns the value of the auxiliary variable that corresponds to the given index |
List |
getAuxiliaryValuesByKey(String key)
Returns the values of the all the auxiliary variables that have the given key |
String |
getNamespace()
Returns the namespace of the business object. |
IOperation |
getOperationObject(String operationName,
com.sap.security.api.IPrincipal user)
Returns an operation object by its ID |
IOperation |
getOperationObject(String operationName,
com.sap.security.api.IPrincipal user,
boolean isEditable)
Returns an operation object by its ID |
Set |
getOperationsNames()
Returns IDs list of operations that are bound under (i.e. belong to) this business object |
String |
getOriginalNamespace()
Returns the original Namespace of the business object in case it was encoded to be PCD compliant. |
String |
getOriginalObjectName()
Returns the original ID of the business object in case it was encoded to be PCD compliant. |
String |
getSystemAlias()
Returns the system alias of the business object. |
BusinessObjectType |
getTypeOfBusinessObject()
Returns the type of the business object. |
void |
removeOperationObject(String operationName,
com.sap.security.api.IPrincipal user)
Remove operation object that belongs to this business object. |
void |
setAuxiliary(int index,
String key,
String value)
Set auxiliary variable with jey and value |
void |
setOperationsNames(Set operationsNames)
Sets the IDs list of operation that belong to this business object |
| Methods inherited from interface com.sap.portal.obn.semanticlayer.IOBNObject |
|---|
getDescription, getObjectUrl, getPathName, getTechnicalName, getTitle, remove, save, setDescription, setTitle |
| Method Detail |
|---|
BusinessObjectType getTypeOfBusinessObject()
String getSystemAlias()
String getNamespace()
String getOriginalNamespace()
String getOriginalObjectName()
Set getOperationsNames()
void setOperationsNames(Set operationsNames)
operationsNames - The list of operations IDs
IOperation getOperationObject(String operationName,
com.sap.security.api.IPrincipal user)
throws OBNException
operationName - The operation IDuser - The user object, for permission reasons
OBNException
IOperation getOperationObject(String operationName,
com.sap.security.api.IPrincipal user,
boolean isEditable)
throws OBNException
operationName - The operation IDuser - The user object, for permission reasonsisEditable - If the context is DesingTime
OBNException
void removeOperationObject(String operationName,
com.sap.security.api.IPrincipal user)
throws OBNException
operationName - - The ID of the operation to removeuser -
OBNException
void setAuxiliary(int index,
String key,
String value)
throws OBNException
index - The Id of the auxiliary variablekey - The key of the variablevalue - The value of the variable
OBNException
String getAuxiliaryKey(int index)
throws OBNException
index - The index of the auxiliary variable
OBNException - In case no auxiliary variable corresponds to the given index
String getAuxiliaryValue(int index)
throws OBNException
index - The index of the auxiliary variable
OBNException - In case no auxiliary variable corresponds to the given index
List getAuxiliaryValuesByKey(String key)
throws OBNException
key - The key of the needed auxiliary variable
OBNException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||