com.sap.netweaver.bc.rf.mi.type
Interface IMutableTypeManager
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.mi_api.jar]
- All Superinterfaces:
- ITypeManager
- public interface IMutableTypeManager
- extends ITypeManager
Read-And-Write interface describing a repository sub manager to create,
update or delete general objects known to the implementing repository (i.e.
it's known how to serialize it in order to store it) without handling the
resources directly, i.e. just create, update or delete a resource handling
only the "casted" (ITypeManager) default object.
- See Also:
ITypeManager
|
Method Summary |
IResourceHandle |
createResource(java.lang.Object resourceObject,
IResourceCreateDescriptor resourceCreateDescriptor)
Create resource based on given resource object known to the implementing
repository (i.e. it's known how to identify and serialize it in order to
create it) and the given creation descriptor for the resource. |
void |
deleteResource(java.lang.Object resourceObject)
Delete resource based on given resource object known to the implementing
repository (i.e. it's known how to identify it in order to delete it). |
IResourceHandle |
updateResource(java.lang.Object resourceObject,
IResourceCreateDescriptor resourceCreateDescriptor)
Update resource based on given resource object known to the implementing
repository (i.e. it's known how to identify and serialize it in order to
update it) and the given update descriptor for the resource. |
| Methods inherited from interface com.sap.netweaver.bc.rf.mi.type.ITypeManager |
as, isA |
createResource
public IResourceHandle createResource(java.lang.Object resourceObject,
IResourceCreateDescriptor resourceCreateDescriptor)
throws ResourceException
- Create resource based on given resource object known to the implementing
repository (i.e. it's known how to identify and serialize it in order to
create it) and the given creation descriptor for the resource. The resource
object will be identified and serialized, a resource for it will be created
and the serialized resource object will be stored therein, obeying the
creation descriptor for the resource.
- Parameters:
resourceObject - resource objectresourceCreateDescriptor - creation descriptor for the resource- Returns:
- resource handle of the created resource
- Throws:
ResourceException - when either the resource object is null, the
creation descriptor is either null or invalid or the
identification/serialization/creation failed
updateResource
public IResourceHandle updateResource(java.lang.Object resourceObject,
IResourceCreateDescriptor resourceCreateDescriptor)
throws ResourceException
- Update resource based on given resource object known to the implementing
repository (i.e. it's known how to identify and serialize it in order to
update it) and the given update descriptor for the resource. The resource
object will be identified and serialized, the resource for it will be
updated by storing the serialized resource object therein, obeying the
update descriptor for the resource.
- Parameters:
resourceObject - resource objectresourceCreateDescriptor - update descriptor for the resource- Returns:
- resource handle of the updated resource
- Throws:
ResourceException - when either the resource object is null, the
update descriptor is either null or invalid or the
identification/serialization/update failed
deleteResource
public void deleteResource(java.lang.Object resourceObject)
throws ResourceException
- Delete resource based on given resource object known to the implementing
repository (i.e. it's known how to identify it in order to delete it). The
resource object will be identified and deleted.
- Parameters:
resourceObject - resource object- Throws:
ResourceException - when either the resource object is null or the
identification/deletion failed
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.