public interface IBusinessObject extends IOBNObject
Business_Objects folder.
BusinessObjectType.BUSINESS_OBJECT_TYPE_SYSTEM type or BusinessObjectType.BUSINESS_OBJECT_TYPE_CONTEXT type.
BusinessObjectType.| Modifier and Type | Method and Description |
|---|---|
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
|
getDescription, getObjectUrl, getPathName, getTechnicalName, getTitle, remove, save, setDescription, setTitleBusinessObjectType getTypeOfBusinessObject()
String getSystemAlias()
String getNamespace()
String getOriginalNamespace()
String getOriginalObjectName()
Set getOperationsNames()
void setOperationsNames(Set operationsNames)
operationsNames - The list of operations IDsIOperation getOperationObject(String operationName, com.sap.security.api.IPrincipal user) throws OBNException
operationName - The operation IDuser - The user object, for permission reasonsOBNException - - if an error occursIOperation 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 DesingTimeOBNException - - if an error occursvoid removeOperationObject(String operationName, com.sap.security.api.IPrincipal user) throws OBNException
operationName - - The ID of the operation to removeuser - The user object, for permission reasonsOBNException - - if an error occursvoid 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 variableOBNException - - if an error occursString getAuxiliaryKey(int index) throws OBNException
index - The index of the auxiliary variableOBNException - In case no auxiliary variable corresponds to the given indexString getAuxiliaryValue(int index) throws OBNException
index - The index of the auxiliary variableOBNException - In case no auxiliary variable corresponds to the given indexList getAuxiliaryValuesByKey(String key) throws OBNException
key - The key of the needed auxiliary variableOBNException - - if an error occurs| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice