Class ServiceInterfaceStyleDao
- java.lang.Object
-
- lumis.portal.serviceinterface.style.ServiceInterfaceStyleDao
-
public class ServiceInterfaceStyleDao extends java.lang.Object
DAO JDBC implementation for service interface style related data operations- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
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(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction daoTransaction)
static void
deleteStyleCacheConfig(java.lang.String fileName, ITransaction transaction)
static ServiceInterfaceStyleConfig
get(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction daoTransaction)
static java.util.Collection<java.lang.String>
getIdsByInterfaceInstanceId(java.lang.String interfaceId, java.lang.String serviceInstanceId, java.lang.String interfaceInstanceId, boolean onlyCustomStyles, ITransaction daoTransaction)
static java.util.Collection<java.lang.String>
getIdsByServiceInterfaceId(java.lang.String serviceInterfaceId, ITransaction daoTransaction)
static java.util.Collection<java.lang.String>
getIdsByStyleFilePath(java.lang.String styleFilePath, ITransaction daoTransaction)
static StyleCacheConfig
getStyleCacheConfig(java.lang.String fileName, ITransaction transaction)
static ServiceInterfaceStyleConfig
getWidgetStyle(java.lang.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(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
get
public static ServiceInterfaceStyleConfig get(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByServiceInterfaceId
public static java.util.Collection<java.lang.String> getIdsByServiceInterfaceId(java.lang.String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByInterfaceInstanceId
public static java.util.Collection<java.lang.String> getIdsByInterfaceInstanceId(java.lang.String interfaceId, java.lang.String serviceInstanceId, java.lang.String interfaceInstanceId, boolean onlyCustomStyles, ITransaction daoTransaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getWidgetStyle
public static ServiceInterfaceStyleConfig getWidgetStyle(java.lang.String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
getIdsByStyleFilePath
public static java.util.Collection<java.lang.String> getIdsByStyleFilePath(java.lang.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(java.lang.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(java.lang.String fileName, ITransaction transaction) throws DaoException, PortalException
- Throws:
DaoException
PortalException
-
-