|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGPBusinessObjectProvider
Implementations of business object providers must implement this interface.
Each implementation is responsible for providing meta data for business object types as well as life cycle methods for business object instances to the framework.
| Method Summary | |
|---|---|
Enumeration |
createEndpointCategoryEnumeration()
Create an Enumeration of all Endpoint Category supported by this BusinessObjectProvider. |
Enumeration |
createEndpointNameEnumeration(String category)
Create an Enumeration of all Endpoint Name supported by a given Endpoint Category of this BusinessObjectProivder. |
boolean |
getHierarchySupported()
Retrieve the hierarchy behaviour for Template of this BusinessObjectProvider. |
String |
getName()
Retrieve the Name of this BusinessObjectProvider. |
IGPPatternTemplateReader |
getPatternTemplateReader()
Retrieve the PatternTemplateReader of this BusinessObjectProvider. |
IGPBusinessObjectPickerBehaviour |
getPickerBehaviour()
Retrieve the PickerBehaviour of this BusinessObjectProvider. |
IGPPlainTemplateReader |
getPlainTemplateReader()
Retrieve the PlainTemplateReader of this BusinessObjectProvider. |
IGPBusinessObjectAspect |
readObjectAspect(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name,
String id,
IGPBusinessObjectAttributeLocator locator)
Read an Aspect of a BusinessObject handled by this BusinessObjectProvider. |
Enumeration |
readObjectAspectEnumeration(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name,
IGPStructure restriction,
IGPBusinessObjectAttributeLocator locator)
Read an Enumeration of selected Aspect of BusinessObject handled by this BusinessObjectProvider. |
IGPBusinessObjectTemplateDetail |
readTemplateDetail(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name)
Read the Detail of a BusinessObjectTemplate of this BusinessObjectProvider. |
IGPBusinessObjectTemplateOverview |
readTemplateOverview(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name)
Read the Overview of a BusinessObjectTemplate of this BusinessObjectProvider. |
String |
resolveDescription(Locale locale)
Resolve the Description of this BusinessObjectProvider. |
String |
resolveTitle(Locale locale)
Resolve the Title of this BusinessObjectProvider. |
| Method Detail |
|---|
Enumeration createEndpointCategoryEnumeration()
throws GPEngineException
GPEngineException - in case the Enumeration could not be created due to internal problems
Enumeration createEndpointNameEnumeration(String category)
throws GPEngineException
category - the Endpoint Category for the Enumeration to create
GPEngineException - in case the Enumeration could not be created due to internal problemsboolean getHierarchySupported()
String getName()
IGPPatternTemplateReader getPatternTemplateReader()
IGPBusinessObjectPickerBehaviour getPickerBehaviour()
IGPPlainTemplateReader getPlainTemplateReader()
IGPBusinessObjectAspect readObjectAspect(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name,
String id,
IGPBusinessObjectAttributeLocator locator)
throws GPEngineException,
GPInvocationException
context - the UserContext by which to read the Aspect, never nullendpoint - the Endpoint at which the BusinessObjectTemplate participating in the Ascpect is located, null for providers operating locallyname - the Name of the BusinessObjectTemplate participating in the Aspect to retrieve, never nullid - the Id of the BusinessObject participating in the Aspect to retrieve, never nulllocator - the Locator for the attribute values of the Aspect to retrieve, null for none
GPEngineException - in case the Aspect could not be retrieved due to internal problems
GPInvocationException - in case the given UserContext, Name or Id are invalid
Enumeration readObjectAspectEnumeration(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name,
IGPStructure restriction,
IGPBusinessObjectAttributeLocator locator)
throws GPEngineException,
GPInvocationException
endpoint - the Endpoint at which the BusinessObjectTemplate participating in the Aspect is located, null for providers operating locallyname - the Name of the BusinessObjectTemplate participating in the Aspect to enumerate, never nullrestriction - the Restriction concerning the BusinessObject participating in the Aspect to enumerate, null for no restrictionlocator - the Locator for the attribute values of the Aspect to enumerate, null for none
GPEngineException - in case the Enumeration could not be created due to internal problems
GPInvocationException - in case the given UserContext or Name are invalid
IGPBusinessObjectTemplateDetail readTemplateDetail(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name)
throws GPEngineException,
GPInvocationException
context - the UserContext by which to read the Detail, never nullendpoint - the Endpoint at which the BusinessObjectTemplate is located, null for providers operating locallyname - the Name of the BusinessObjectTemplate for which to read the Detail, never null
GPEngineException - in case the Detail could not be retrieved due to internal problems
GPInvocationException - in case the given UserContext or Name are invalid
IGPBusinessObjectTemplateOverview readTemplateOverview(IUser user,
IGPBusinessObjectEndpoint endpoint,
String name)
throws GPEngineException,
GPInvocationException
context - the UserContext by which to read the Overview, never nullendpoint - the Endpoint at which the BusinessObjectTemplate is located, null for providers operating locallyname - the Name of the BusinessObjectTemplate for which to read the Overview, never null
GPEngineException - in case the Overview could not be retrieved due to internal problems
GPInvocationException - in case the given UserContext or Name is invalid
String resolveDescription(Locale locale)
throws GPInvocationException
locale - the Locale to resolve the Description by
GPInvocationException - in case the given Locale is invalid
String resolveTitle(Locale locale)
throws GPInvocationException
locale - the Locale to resolve the Title by
GPInvocationException - in case the given Locale is invalid
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||