lumis.portal.serviceinterface
Class ServiceInterfaceDaoJdbc

Package class diagram package ServiceInterfaceDaoJdbc
java.lang.Object
  extended by lumis.portal.serviceinterface.ServiceInterfaceDaoJdbc
All Implemented Interfaces:
IServiceInterfaceDao

public class ServiceInterfaceDaoJdbc
extends Object
implements IServiceInterfaceDao

Since:
4.0.0

Constructor Summary
ServiceInterfaceDaoJdbc()
           
 
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 serviceInterfaceId, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceDaoJdbc

public ServiceInterfaceDaoJdbc()
Method Detail

get

public ServiceInterfaceConfig get(String serviceInterfaceId,
                                  ITransaction daoTransaction)
                           throws DaoException,
                                  PortalException
Description copied from interface: IServiceInterfaceDao
Get the service's interface.

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

addOrUpdate

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

Specified by:
addOrUpdate in interface IServiceInterfaceDao
Throws:
DaoException
PortalException

delete

public boolean delete(ServiceInterfaceConfig serviceInterfaceConfig,
                      ITransaction daoTransaction)
               throws DaoException,
                      PortalException
Description copied from interface: IServiceInterfaceDao
Delete the service's interface.

Specified by:
delete in interface IServiceInterfaceDao
Throws:
DaoException
PortalException

setDefaultStyleId

public void setDefaultStyleId(String serviceInterfaceId,
                              String serviceInterfaceStyleId,
                              ITransaction daoTransaction)
                       throws DaoException,
                              PortalException
Description copied from interface: IServiceInterfaceDao
Update the default style of the service's interface.

Specified by:
setDefaultStyleId in interface IServiceInterfaceDao
Throws:
DaoException
PortalException

getDefaultStyleId

public String getDefaultStyleId(String serviceInterfaceId,
                                ITransaction daoTransaction)
                         throws DaoException,
                                PortalException
Description copied from interface: IServiceInterfaceDao
Get the default style of the service's interface.

Specified by:
getDefaultStyleId in interface IServiceInterfaceDao
Returns:
Throws:
DaoException
PortalException

setCustomDefaultStyleId

public void setCustomDefaultStyleId(String serviceInterfaceId,
                                    String serviceInterfaceStyleId,
                                    ITransaction daoTransaction)
                             throws DaoException,
                                    PortalException
Description copied from interface: IServiceInterfaceDao
Update the id of the custom default style.

Specified by:
setCustomDefaultStyleId in interface IServiceInterfaceDao
Throws:
DaoException
PortalException

getCustomDefaultStyleId

public String getCustomDefaultStyleId(String serviceInterfaceId,
                                      ITransaction daoTransaction)
                               throws DaoException,
                                      PortalException
Description copied from interface: IServiceInterfaceDao
Get the id of the custom default style.

Specified by:
getCustomDefaultStyleId in interface IServiceInterfaceDao
Returns:
Throws:
DaoException
PortalException

getIdsByServiceId

public Collection<String> getIdsByServiceId(String serviceId,
                                            ITransaction daoTransaction)
                                     throws DaoException,
                                            PortalException
Description copied from interface: IServiceInterfaceDao
Get all interfaces ids from a given service.

Specified by:
getIdsByServiceId in interface IServiceInterfaceDao
Returns:
Throws:
DaoException
PortalException


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