ibrokerkit.iservicestore.store
Interface Store

All Known Implementing Classes:
DatabaseStore

public interface Store

The Store is used for creating, retrieving and managing i-services.


Method Summary
 void close()
          Closes the Store.
 Authentication createAuthentication()
          Create a new Authentication i-service.
 Contact createContact()
          Create a new Contact i-service.
 Forwarding createForwarding()
          Create a new Forwarding i-service.
 Locator createLocator()
          Create a new Locator i-service.
 void deleteAllIServices(java.lang.String qxri)
          Deletes all i-services associated with a given QXRI field.
 void deleteObject(java.lang.Object object)
          Deletes an object from the database.
 Authentication findAuthentication(java.lang.String qxri)
          Find a single, enabled Authentication i-service with a given QXRI field.
 Authentication[] findAuthentications(java.lang.String qxri)
          Find all Authentication i-services with a given QXRI field.
 Contact findContact(java.lang.String qxri)
          Find a single, enabled Contact i-service with a given QXRI field.
 Contact[] findContacts(java.lang.String qxri)
          Find all Contact i-services with a given QXRI field.
 Forwarding findForwarding(java.lang.String qxri)
          Find a single, enabled Forwarding i-service with a given QXRI field.
 Forwarding[] findForwardings(java.lang.String qxri)
          Find all Forwarding i-services with a given QXRI field.
 Locator findLocator(java.lang.String qxri)
          Find a single, enabled Locator i-service with a given QXRI field.
 Locator[] findLocators(java.lang.String qxri)
          Find all Locator i-services with a given QXRI field.
 Authentication getAuthentication(java.lang.Long id)
          Get an Authentication i-service with a given ID.
 Contact getContact(java.lang.Long id)
          Get a Contact i-service with a given ID.
 Forwarding getForwarding(java.lang.Long id)
          Get an Forwarding i-service with a given ID.
 Locator getLocator(java.lang.Long id)
          Get an Locator i-service with a given ID.
 void init()
          Initializes the Store.
 boolean isClosed()
          True, if the Store has been initialized.
 boolean isInitialized()
          True, if the Store has been initialized.
 Authentication[] listAuthentications()
          List all Authentication i-services in the Store.
 Authentication[] listAuthenticationsByIndex(java.lang.String indx)
          List all Authentication i-services with a given INDX field.
 Contact[] listContacts()
          List all Contact i-services in the Store.
 Contact[] listContactsByIndex(java.lang.String indx)
          List all Contact i-services with a given INDX field.
 Forwarding[] listForwardings()
          List all Forwarding i-services in the Store.
 Forwarding[] listForwardingsByIndex(java.lang.String indx)
          List all Forwarding i-services with a given INDX field.
 Locator[] listLocators()
          List all Locator i-services in the Store.
 Locator[] listLocatorsByIndex(java.lang.String indx)
          List all Locator i-services with a given INDX field.
 void updateObject(java.lang.Object object)
          Updates an object in the database after modifications have been made.
 

Method Detail

init

void init()
          throws StoreException
Initializes the Store.

Throws:
StoreException

isInitialized

boolean isInitialized()
True, if the Store has been initialized.


close

void close()
Closes the Store.


isClosed

boolean isClosed()
True, if the Store has been initialized.


updateObject

void updateObject(java.lang.Object object)
                  throws StoreException
Updates an object in the database after modifications have been made.

Throws:
StoreException

deleteObject

void deleteObject(java.lang.Object object)
                  throws StoreException
Deletes an object from the database.

Throws:
StoreException

deleteAllIServices

void deleteAllIServices(java.lang.String qxri)
                        throws StoreException
Deletes all i-services associated with a given QXRI field.

Throws:
StoreException

createAuthentication

Authentication createAuthentication()
                                    throws StoreException
Create a new Authentication i-service.

Throws:
StoreException

getAuthentication

Authentication getAuthentication(java.lang.Long id)
                                 throws StoreException
Get an Authentication i-service with a given ID.

Throws:
StoreException

listAuthentications

Authentication[] listAuthentications()
                                     throws StoreException
List all Authentication i-services in the Store.

Throws:
StoreException

listAuthenticationsByIndex

Authentication[] listAuthenticationsByIndex(java.lang.String indx)
                                            throws StoreException
List all Authentication i-services with a given INDX field.

Throws:
StoreException

findAuthentication

Authentication findAuthentication(java.lang.String qxri)
                                  throws StoreException
Find a single, enabled Authentication i-service with a given QXRI field.

Throws:
StoreException

findAuthentications

Authentication[] findAuthentications(java.lang.String qxri)
                                     throws StoreException
Find all Authentication i-services with a given QXRI field.

Throws:
StoreException

createContact

Contact createContact()
                      throws StoreException
Create a new Contact i-service.

Throws:
StoreException

getContact

Contact getContact(java.lang.Long id)
                   throws StoreException
Get a Contact i-service with a given ID.

Throws:
StoreException

listContacts

Contact[] listContacts()
                       throws StoreException
List all Contact i-services in the Store.

Throws:
StoreException

listContactsByIndex

Contact[] listContactsByIndex(java.lang.String indx)
                              throws StoreException
List all Contact i-services with a given INDX field.

Throws:
StoreException

findContact

Contact findContact(java.lang.String qxri)
                    throws StoreException
Find a single, enabled Contact i-service with a given QXRI field.

Throws:
StoreException

findContacts

Contact[] findContacts(java.lang.String qxri)
                       throws StoreException
Find all Contact i-services with a given QXRI field.

Throws:
StoreException

createForwarding

Forwarding createForwarding()
                            throws StoreException
Create a new Forwarding i-service.

Throws:
StoreException

getForwarding

Forwarding getForwarding(java.lang.Long id)
                         throws StoreException
Get an Forwarding i-service with a given ID.

Throws:
StoreException

listForwardings

Forwarding[] listForwardings()
                             throws StoreException
List all Forwarding i-services in the Store.

Throws:
StoreException

listForwardingsByIndex

Forwarding[] listForwardingsByIndex(java.lang.String indx)
                                    throws StoreException
List all Forwarding i-services with a given INDX field.

Throws:
StoreException

findForwarding

Forwarding findForwarding(java.lang.String qxri)
                          throws StoreException
Find a single, enabled Forwarding i-service with a given QXRI field.

Throws:
StoreException

findForwardings

Forwarding[] findForwardings(java.lang.String qxri)
                             throws StoreException
Find all Forwarding i-services with a given QXRI field.

Throws:
StoreException

createLocator

Locator createLocator()
                      throws StoreException
Create a new Locator i-service.

Throws:
StoreException

getLocator

Locator getLocator(java.lang.Long id)
                   throws StoreException
Get an Locator i-service with a given ID.

Throws:
StoreException

listLocators

Locator[] listLocators()
                       throws StoreException
List all Locator i-services in the Store.

Throws:
StoreException

listLocatorsByIndex

Locator[] listLocatorsByIndex(java.lang.String indx)
                              throws StoreException
List all Locator i-services with a given INDX field.

Throws:
StoreException

findLocator

Locator findLocator(java.lang.String qxri)
                    throws StoreException
Find a single, enabled Locator i-service with a given QXRI field.

Throws:
StoreException

findLocators

Locator[] findLocators(java.lang.String qxri)
                       throws StoreException
Find all Locator i-services with a given QXRI field.

Throws:
StoreException


Copyright © 2009. All Rights Reserved.