lumis.portal.serviceinterface
Interface IServiceInterfaceDao

Package class diagram package IServiceInterfaceDao
All Known Implementing Classes:
ServiceInterfaceDaoHib, ServiceInterfaceDaoJdbc

public interface IServiceInterfaceDao


Method Summary
 void addOrUpdate(ServiceInterfaceConfig serviceInterfaceConfig, ITransaction daoTransaction)
          Add or update the service's interface.
 boolean delete(ServiceInterfaceConfig serviceInterfaceConfig, ITransaction daoTransaction)
          Delete the service's interface.
 ServiceInterfaceConfig get(String interfaceId, ITransaction daoTransaction)
          Get the service's interface.
 String getCustomDefaultStyleId(String serviceInterfaceId, ITransaction daoTransaction)
          Get the id of the custom default style.
 String getDefaultStyleId(String serviceInterfaceId, ITransaction daoTransaction)
          Get the default style of the service's interface.
 Collection<String> getIdsByServiceId(String serviceId, ITransaction daoTransaction)
          Get all interfaces ids from a given service.
 void setCustomDefaultStyleId(String serviceInterfaceId, String serviceInterfaceStyleId, ITransaction daoTransaction)
          Update the id of the custom default style.
 void setDefaultStyleId(String serviceInterfaceId, String serviceInterfaceStyleId, ITransaction daoTransaction)
          Update the default style of the service's interface.
 

Method Detail

get

ServiceInterfaceConfig get(String interfaceId,
                           ITransaction daoTransaction)
                           throws DaoException,
                                  PortalException
Get the service's interface.

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

getIdsByServiceId

Collection<String> getIdsByServiceId(String serviceId,
                                     ITransaction daoTransaction)
                                     throws DaoException,
                                            PortalException
Get all interfaces ids from a given service.

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

addOrUpdate

void addOrUpdate(ServiceInterfaceConfig serviceInterfaceConfig,
                 ITransaction daoTransaction)
                 throws DaoException,
                        PortalException
Add or update the service's interface. Add the service's interface if it don't exist.

Parameters:
serviceInterfaceConfig -
daoTransaction -
Throws:
DaoException
PortalException

delete

boolean delete(ServiceInterfaceConfig serviceInterfaceConfig,
               ITransaction daoTransaction)
               throws DaoException,
                      PortalException
Delete the service's interface.

Parameters:
serviceInterfaceConfig -
daoTransaction -
Throws:
DaoException
PortalException

setDefaultStyleId

void setDefaultStyleId(String serviceInterfaceId,
                       String serviceInterfaceStyleId,
                       ITransaction daoTransaction)
                       throws DaoException,
                              PortalException
Update the default style of the service's interface.

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

getDefaultStyleId

String getDefaultStyleId(String serviceInterfaceId,
                         ITransaction daoTransaction)
                         throws DaoException,
                                PortalException
Get the default style of the service's interface.

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

setCustomDefaultStyleId

void setCustomDefaultStyleId(String serviceInterfaceId,
                             String serviceInterfaceStyleId,
                             ITransaction daoTransaction)
                             throws DaoException,
                                    PortalException
Update the id of the custom default style.

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

getCustomDefaultStyleId

String getCustomDefaultStyleId(String serviceInterfaceId,
                               ITransaction daoTransaction)
                               throws DaoException,
                                      PortalException
Get the id of the custom default style.

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


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