lumis.portal.serviceinterfaceinstance
Interface IServiceInterfaceInstanceDao

Package class diagram package IServiceInterfaceInstanceDao
All Known Implementing Classes:
ServiceInterfaceInstanceDaoJdbc

public interface IServiceInterfaceInstanceDao

DAO for service interface instance

Since:
4.0.0

Method Summary
 void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction daoTransaction)
          Add the service's interface's instance.
 void delete(String serviceInterfaceInstanceId, ITransaction daoTransaction)
          Delete the service's interface's instance.
 void deleteCustomProperties(String interfaceInstanceId, ITransaction daoTransaction)
          Delete the custom propertires of the service's interface's instance.
 void deleteCustomProperty(String interfaceInstanceId, String name, ITransaction daoTransaction)
          Delete a custom property of the service's interface's instance.
 ServiceInterfaceInstanceConfig get(String interfaceInstanceId, ITransaction daoTransaction)
          Get the service's interface's instance.
 HashMap<String,String> getCustomProperties(String interfaceInstanceId, ITransaction daoTransaction)
          Get all custom properties of the specified service insterface instance.
 String getCustomProperty(String interfaceInstanceId, String name, ITransaction daoTransaction)
          Get the custom property of the service's interface's instance.
 Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, boolean ignoreRuntimeInterfaces, 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 daoTransaction)
          Get the id given the id of the service's interface's style.
 Collection<String> getPageInterfaceInstanceIds(String pageId, ITransaction daoTransaction)
          Get the ids of the page's interface's instance.
 ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId, String serviceInstanceId, String pagetId, ITransaction daoTransaction)
          Get the runtime instance.
 void setCustomProperty(String interfaceInstanceId, String name, String value, ITransaction daoTransaction)
          Set the custom property of the service's interface's instance.
 void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction daoTransaction)
          Update the service's interface's instance.
 

Method Detail

get

ServiceInterfaceInstanceConfig get(String interfaceInstanceId,
                                   ITransaction daoTransaction)
                                   throws DaoException,
                                          PortalException
Get the service's interface's instance.

Parameters:
interfaceInstanceId -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

add

void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
         ITransaction daoTransaction)
         throws DaoException,
                PortalException
Add the service's interface's instance.

Parameters:
serviceInterfaceInstance -
daoTransaction -
Throws:
DaoException
PortalException

update

void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
            ITransaction daoTransaction)
            throws DaoException,
                   PortalException
Update the service's interface's instance.

Parameters:
serviceInterfaceInstance -
daoTransaction -
Throws:
DaoException
PortalException

delete

void delete(String serviceInterfaceInstanceId,
            ITransaction daoTransaction)
            throws DaoException,
                   PortalException
Delete the service's interface's instance.

Parameters:
serviceInterfaceInstanceId -
daoTransaction -
Throws:
DaoException
PortalException

getRunTimeInstance

ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId,
                                                  String serviceInstanceId,
                                                  String pagetId,
                                                  ITransaction daoTransaction)
                                                  throws DaoException,
                                                         PortalException
Get the runtime instance.

Parameters:
serviceInterfaceId -
serviceInstanceId -
pagetId -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

getPageInterfaceInstanceIds

Collection<String> getPageInterfaceInstanceIds(String pageId,
                                               ITransaction daoTransaction)
                                               throws DaoException,
                                                      PortalException
Get the ids of the page's interface's instance.

Parameters:
pageId -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceId

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

Parameters:
serviceInterfaceId -
ignoreRuntimeInterfaces -
transaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceId

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

Parameters:
serviceInterfaceId -
ignoreRuntimeInterfaces -
ignorePageTemplates - TODO
transaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInstanceId

Collection<String> getIdsByServiceInstanceId(String serviceInstanceId,
                                             boolean ignoreRuntimeInterfaces,
                                             ITransaction transaction)
                                             throws DaoException,
                                                    PortalException
Get a list of ids given the id of the id of the service's instance.

Parameters:
serviceInstanceId -
ignoreRuntimeInterfaces -
transaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceIdAndServiceInstanceId

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

Parameters:
serviceInterfaceId -
serviceInstanceId -
ignoreRuntimeInterfaces - TODO
transaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceIdAndServiceInstanceId

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

Parameters:
serviceInterfaceId -
serviceInstanceId -
ignoreRuntimeInterfaces - TODO
ignorePageTemplates - TODO
transaction -
Returns:
Throws:
DaoException
PortalException

getIdsByServiceInterfaceStyleId

Collection<String> getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId,
                                                   String serviceInterfaceId,
                                                   ITransaction daoTransaction)
                                                   throws DaoException,
                                                          PortalException
Get the id given the id of the service's interface's style.

Parameters:
serviceInterfaceStyleId -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

getCustomProperty

String getCustomProperty(String interfaceInstanceId,
                         String name,
                         ITransaction daoTransaction)
                         throws DaoException,
                                PortalException
Get the custom property of the service's interface's instance.

Parameters:
interfaceInstanceId -
name -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

getCustomProperties

HashMap<String,String> getCustomProperties(String interfaceInstanceId,
                                           ITransaction daoTransaction)
                                           throws DaoException,
                                                  PortalException
Get all custom properties of the specified service insterface instance.

Parameters:
interfaceInstanceId -
daoTransaction -
Returns:
Throws:
DaoException
PortalException

setCustomProperty

void setCustomProperty(String interfaceInstanceId,
                       String name,
                       String value,
                       ITransaction daoTransaction)
                       throws DaoException,
                              PortalException
Set the custom property of the service's interface's instance.

Parameters:
interfaceInstanceId -
name -
value -
daoTransaction -
Throws:
DaoException
PortalException

deleteCustomProperties

void deleteCustomProperties(String interfaceInstanceId,
                            ITransaction daoTransaction)
                            throws DaoException,
                                   PortalException
Delete the custom propertires of the service's interface's instance.

Parameters:
interfaceInstanceId -
daoTransaction -
Throws:
DaoException
PortalException

deleteCustomProperty

void deleteCustomProperty(String interfaceInstanceId,
                          String name,
                          ITransaction daoTransaction)
                          throws DaoException,
                                 PortalException
Delete a custom property of the service's interface's instance.

Parameters:
interfaceInstanceId -
name -
daoTransaction -
Throws:
DaoException
PortalException


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