Class ServiceInterfaceStyleDao
- java.lang.Object
-
- lumis.portal.serviceinterface.style.ServiceInterfaceStyleDao
-
public class ServiceInterfaceStyleDao extends Object
DAO JDBC implementation for service interface style related data operations- Since:
- 8.1.0
- Version:
- $Revision: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceStyleDao()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig, ITransaction daoTransaction)
static void
addStyleCacheConfig(StyleCacheConfig styleCacheConfig, ITransaction transaction)
static void
delete(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction daoTransaction)
static void
deleteStyleCacheConfig(String fileName, ITransaction transaction)
static ServiceInterfaceStyleConfig
get(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction daoTransaction)
static Collection<String>
getIdsByInterfaceInstanceId(String interfaceId, String serviceInstanceId, String interfaceInstanceId, boolean onlyCustomStyles, ITransaction daoTransaction)
static Collection<String>
getIdsByServiceInterfaceId(String serviceInterfaceId, ITransaction daoTransaction)
static Collection<String>
getIdsByStyleFilePath(String styleFilePath, ITransaction daoTransaction)
static StyleCacheConfig
getStyleCacheConfig(String fileName, ITransaction transaction)
static ServiceInterfaceStyleConfig
getWidgetStyle(String serviceInterfaceId, ITransaction transaction)
static void
updateStyleCacheConfig(StyleCacheConfig styleCacheConfig, ITransaction transaction)
-
-
-
Method Detail
-
addOrUpdate
public static void addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
delete
public static void delete(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
get
public static ServiceInterfaceStyleConfig get(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByServiceInterfaceId
public static Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByInterfaceInstanceId
public static Collection<String> getIdsByInterfaceInstanceId(String interfaceId, String serviceInstanceId, String interfaceInstanceId, boolean onlyCustomStyles, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getWidgetStyle
public static ServiceInterfaceStyleConfig getWidgetStyle(String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByStyleFilePath
public static Collection<String> getIdsByStyleFilePath(String styleFilePath, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
addStyleCacheConfig
public static void addStyleCacheConfig(StyleCacheConfig styleCacheConfig, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
deleteStyleCacheConfig
public static void deleteStyleCacheConfig(String fileName, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
updateStyleCacheConfig
public static void updateStyleCacheConfig(StyleCacheConfig styleCacheConfig, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getStyleCacheConfig
public static StyleCacheConfig getStyleCacheConfig(String fileName, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
-