com.ibm.serviceregistry.delegate
Interface RepositoryDelegate

All Superinterfaces:
java.io.Serializable

public interface RepositoryDelegate
extends java.io.Serializable

provides the same interface as the { // @begin_copyright_field@ public static final String copyrightStatement = "Licensed Materials - Property of IBM\n\n"+ "5724-N72 5655-WBS\n\n"+ "Copyright IBM Corp. 2006, 2009 All Rights Reserved.\n\n"+ "US Government Users Restricted Rights - Use, duplication or\n"+ "disclosure restricted by GSA ADP Schedule Contract with\n"+ "IBM Corp."; // @end_copyright_field@


Method Summary
 java.lang.String create(OriginalObject originalObject)
          Please see ServiceRegistry.create(com.ibm.serviceregistry.sdo.OriginalObject) for a description of this function.
 void delete(java.util.List<java.lang.String> ids)
          Please see ServiceRegistry.delete(java.util.List) for a description of this function.
 void delete(java.lang.String bsrURI)
          Please see com.ibm.serviceregistry.ServiceRegistry#delete(java.util.String) for a description of this function.
 java.util.List executeNamedQuery(java.lang.String name)
          For a property query a list of PropertyQueryResult will be returned.
 java.util.List executeNamedQuery(java.lang.String name, java.lang.Object[] params)
          For a property query a list of PropertyQueryResult will be returned.
 java.util.List executeQuery(QueryObject query)
          For a property query a list of PropertyQueryResult will be returned.
 BaseObject retrieve(java.lang.String bsrURI)
          Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject) for a description of this function.
 BaseObject retrieve(java.lang.String bsrURI, int depth)
          Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject, int) for a description of this function.
 BaseObject retrieve(java.lang.String bsrURI, Options options)
          Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject, int) for a description of this function.
 void update(BaseObject object)
          Please see com.ibm.serviceregistry.ServiceRegistry#update(com.ibm.serviceregistry.types.Document) for a description of this function.
 void update(java.util.List<BaseObject> dataObjects)
          Please see ServiceRegistry.update(java.util.List) for a description of this function.
 

Method Detail

create

java.lang.String create(OriginalObject originalObject)
                        throws ServiceRegistryException,
                               ServiceRegistryRuntimeException
Please see ServiceRegistry.create(com.ibm.serviceregistry.sdo.OriginalObject) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

delete

void delete(java.util.List<java.lang.String> ids)
            throws ServiceRegistryException,
                   ServiceRegistryRuntimeException
Please see ServiceRegistry.delete(java.util.List) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

delete

void delete(java.lang.String bsrURI)
            throws ServiceRegistryException,
                   ServiceRegistryRuntimeException
Please see com.ibm.serviceregistry.ServiceRegistry#delete(java.util.String) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

executeNamedQuery

java.util.List executeNamedQuery(java.lang.String name)
                                 throws ServiceRegistryException,
                                        ServiceRegistryRuntimeException
For a property query a list of PropertyQueryResult will be returned. For a graph query a list of BaseObject will be returned.

Please see ServiceRegistry.executeNamedQuery(java.lang.String) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

executeNamedQuery

java.util.List executeNamedQuery(java.lang.String name,
                                 java.lang.Object[] params)
                                 throws ServiceRegistryException,
                                        ServiceRegistryRuntimeException
For a property query a list of PropertyQueryResult will be returned. For a graph query a list of BaseObject will be returned.

Please see ServiceRegistry.executeNamedQuery(java.lang.String, java.lang.Object[]) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

executeQuery

java.util.List executeQuery(QueryObject query)
                            throws ServiceRegistryException,
                                   ServiceRegistryRuntimeException
For a property query a list of PropertyQueryResult will be returned. For a graph query a list of BaseObject will be returned.

Please see com.ibm.serviceregistry.ServiceRegistry#executeQuery(com.ibm.bsr.sdo.QueryObject) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

retrieve

BaseObject retrieve(java.lang.String bsrURI)
                    throws ServiceRegistryException,
                           ServiceRegistryRuntimeException
Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

retrieve

BaseObject retrieve(java.lang.String bsrURI,
                    int depth)
                    throws ServiceRegistryException,
                           ServiceRegistryRuntimeException
Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject, int) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

update

void update(BaseObject object)
            throws ServiceRegistryException,
                   ServiceRegistryRuntimeException
Please see com.ibm.serviceregistry.ServiceRegistry#update(com.ibm.serviceregistry.types.Document) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

update

void update(java.util.List<BaseObject> dataObjects)
            throws ServiceRegistryException,
                   ServiceRegistryRuntimeException
Please see ServiceRegistry.update(java.util.List) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException

retrieve

BaseObject retrieve(java.lang.String bsrURI,
                    Options options)
                    throws ServiceRegistryException,
                           ServiceRegistryRuntimeException
Please see com.ibm.serviceregistry.ServiceRegistry#retrieve(com.ibm.serviceregistry.types.BaseObject, int) for a description of this function.

Throws:
ServiceRegistryException
ServiceRegistryRuntimeException


© Copyright IBM Corporation 2006, 2009. All Rights Reserved.