lumis.portal.serviceinterfaceinstance
Class ServiceInterfaceInstanceDaoJdbc

Package class diagram package ServiceInterfaceInstanceDaoJdbc
java.lang.Object
  extended by lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceDaoJdbc
All Implemented Interfaces:
IServiceInterfaceInstanceDao

public class ServiceInterfaceInstanceDaoJdbc
extends Object
implements IServiceInterfaceInstanceDao

JDBC based DAO implementation for service interface instance.

Since:
4.0.0

Constructor Summary
ServiceInterfaceInstanceDaoJdbc()
           
 
Method Summary
 void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction)
          Add the service's interface's instance.
 void delete(String serviceInterfaceInstanceId, ITransaction transaction)
          Delete the service's interface's instance.
 void deleteCustomProperties(String interfaceInstanceId, ITransaction transaction)
          Delete the custom propertires of the service's interface's instance.
 void deleteCustomProperty(String interfaceInstanceId, String name, ITransaction transaction)
          Delete a custom property of the service's interface's instance.
 ServiceInterfaceInstanceConfig get(String interfaceInstanceId, ITransaction transaction)
          Get the service's interface's instance.
 HashMap<String,String> getCustomProperties(String interfaceInstanceId, ITransaction transaction)
          Get all custom properties of the specified service insterface instance.
 String getCustomProperty(String interfaceInstanceId, String name, ITransaction transaction)
          Get the custom property of the service's interface's instance.
 Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, boolean includeRunTimeInterfaces, ITransaction transaction)
          Get a list of ids given the id of the id of the service's instance.
 Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
          Get a list of ids given the id of the service's interface.
 Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
          Get a list of ids given the id of the service's interface.
 Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
          Get a list of ids given the id of the service's interface and the id of the service's instance.
 Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
          Get a list of ids given the id of the service's interface and the id of the service's instance.
 Collection<String> getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction)
          Get the id given the id of the service's interface's style.
 Collection<String> getPageInterfaceInstanceIds(String pageId, ITransaction transaction)
          Get the ids of the page's interface's instance.
 ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId, String serviceInstanceId, String pageId, ITransaction transaction)
          Get the runtime instance.
 void setCustomProperty(String interfaceInstanceId, String name, String value, ITransaction transaction)
          Set the custom property of the service's interface's instance.
 void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction)
          Update the service's interface's instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceInstanceDaoJdbc

public ServiceInterfaceInstanceDaoJdbc()
Method Detail

get

public ServiceInterfaceInstanceConfig get(String interfaceInstanceId,
                                          ITransaction transaction)
                                   throws DaoException,
                                          PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get the service's interface's instance.

Specified by:
get in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

add

public void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
                ITransaction transaction)
         throws DaoException,
                PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Add the service's interface's instance.

Specified by:
add in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException

update

public void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Update the service's interface's instance.

Specified by:
update in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException

delete

public void delete(String serviceInterfaceInstanceId,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Delete the service's interface's instance.

Specified by:
delete in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException

getRunTimeInstance

public ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId,
                                                         String serviceInstanceId,
                                                         String pageId,
                                                         ITransaction transaction)
                                                  throws DaoException,
                                                         PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get the runtime instance.

Specified by:
getRunTimeInstance in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getPageInterfaceInstanceIds

public Collection<String> getPageInterfaceInstanceIds(String pageId,
                                                      ITransaction transaction)
                                               throws DaoException,
                                                      PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get the ids of the page's interface's instance.

Specified by:
getPageInterfaceInstanceIds in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceId

public Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId,
                                                     boolean ignoreRuntimeInterfaces,
                                                     ITransaction transaction)
                                              throws DaoException,
                                                     PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get a list of ids given the id of the service's interface.

Specified by:
getIdsByServiceInterfaceId in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceId

public Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId,
                                                     boolean ignoreRuntimeInterfaces,
                                                     boolean ignorePageTemplates,
                                                     ITransaction transaction)
                                              throws DaoException,
                                                     PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get a list of ids given the id of the service's interface.

Specified by:
getIdsByServiceInterfaceId in interface IServiceInterfaceInstanceDao
ignorePageTemplates - TODO
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceIdAndServiceInstanceId

public Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId,
                                                                         String serviceInstanceId,
                                                                         boolean ignoreRuntimeInterfaces,
                                                                         ITransaction transaction)
                                                                  throws DaoException,
                                                                         PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get a list of ids given the id of the service's interface and the id of the service's instance.

Specified by:
getIdsByServiceInterfaceIdAndServiceInstanceId in interface IServiceInterfaceInstanceDao
ignoreRuntimeInterfaces - TODO
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceIdAndServiceInstanceId

public Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId,
                                                                         String serviceInstanceId,
                                                                         boolean ignoreRuntimeInterfaces,
                                                                         boolean ignorePageTemplates,
                                                                         ITransaction transaction)
                                                                  throws DaoException,
                                                                         PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get a list of ids given the id of the service's interface and the id of the service's instance.

Specified by:
getIdsByServiceInterfaceIdAndServiceInstanceId in interface IServiceInterfaceInstanceDao
ignoreRuntimeInterfaces - TODO
ignorePageTemplates - TODO
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInstanceId

public Collection<String> getIdsByServiceInstanceId(String serviceInstanceId,
                                                    boolean includeRunTimeInterfaces,
                                                    ITransaction transaction)
                                             throws DaoException,
                                                    PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get a list of ids given the id of the id of the service's instance.

Specified by:
getIdsByServiceInstanceId in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceStyleId

public Collection<String> getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId,
                                                          String serviceInterfaceId,
                                                          ITransaction transaction)
                                                   throws DaoException,
                                                          PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get the id given the id of the service's interface's style.

Specified by:
getIdsByServiceInterfaceStyleId in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getCustomProperty

public String getCustomProperty(String interfaceInstanceId,
                                String name,
                                ITransaction transaction)
                         throws DaoException,
                                PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get the custom property of the service's interface's instance.

Specified by:
getCustomProperty in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

getCustomProperties

public HashMap<String,String> getCustomProperties(String interfaceInstanceId,
                                                  ITransaction transaction)
                                           throws DaoException,
                                                  PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Get all custom properties of the specified service insterface instance.

Specified by:
getCustomProperties in interface IServiceInterfaceInstanceDao
Returns:
Throws:
DaoException
PortalException

setCustomProperty

public void setCustomProperty(String interfaceInstanceId,
                              String name,
                              String value,
                              ITransaction transaction)
                       throws DaoException,
                              PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Set the custom property of the service's interface's instance.

Specified by:
setCustomProperty in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException

deleteCustomProperties

public void deleteCustomProperties(String interfaceInstanceId,
                                   ITransaction transaction)
                            throws DaoException,
                                   PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Delete the custom propertires of the service's interface's instance.

Specified by:
deleteCustomProperties in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException

deleteCustomProperty

public void deleteCustomProperty(String interfaceInstanceId,
                                 String name,
                                 ITransaction transaction)
                          throws DaoException,
                                 PortalException
Description copied from interface: IServiceInterfaceInstanceDao
Delete a custom property of the service's interface's instance.

Specified by:
deleteCustomProperty in interface IServiceInterfaceInstanceDao
Throws:
DaoException
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.