lumis.portal.serviceinterface.style
Interface IServiceInterfaceStyleDao

Package class diagram package IServiceInterfaceStyleDao
All Known Implementing Classes:
ServiceInterfaceStyleDaoJdbc

public interface IServiceInterfaceStyleDao

Since:
6.0.0

Method Summary
 void addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig, ITransaction transaction)
          Add or update the style of the service's interface.
 void delete(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction transaction)
          Delete the style of the service's interface.
 ServiceInterfaceStyleConfig get(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction transaction)
          Get the style of the service's interface.
 java.util.Collection<java.lang.String> getIdsByServiceInterfaceId(java.lang.String serviceInterfaceId, ITransaction transaction)
          Get a list of ids given the id of the service's interface.
 ServiceInterfaceStyleConfig getWidgetStyle(java.lang.String serviceInterfaceId, ITransaction transaction)
          Get the widget style of the service's interface.
 

Method Detail

addOrUpdate

void addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig,
                 ITransaction transaction)
                 throws DaoException,
                        PortalException
Add or update the style of the service's interface. Add the style if it don't exist.

Parameters:
serviceInterfaceStyleConfig -
transaction -
Throws:
DaoException
PortalException

delete

void delete(java.lang.String serviceInterfaceStyleId,
            java.lang.String serviceInterfaceId,
            ITransaction transaction)
            throws DaoException,
                   PortalException
Delete the style of the service's interface.

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

get

ServiceInterfaceStyleConfig get(java.lang.String serviceInterfaceStyleId,
                                java.lang.String serviceInterfaceId,
                                ITransaction transaction)
                                throws DaoException,
                                       PortalException
Get the style of the service's interface.

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

getIdsByServiceInterfaceId

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

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

getWidgetStyle

ServiceInterfaceStyleConfig getWidgetStyle(java.lang.String serviceInterfaceId,
                                           ITransaction transaction)
                                           throws DaoException,
                                                  PortalException
Get the widget style of the service's interface.

Parameters:
serviceInterfaceId - id of interface.
transaction - transaction used to get information from database.
Returns:
the Interface Style entity.
Throws:
DaoException - if any error occurs during the process on database.
PortalException - if any error occurs during the process.


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