|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao<ServiceInterfaceConfig,String> lumis.portal.serviceinterface.ServiceInterfaceDaoHib
public class ServiceInterfaceDaoHib
Constructor Summary | |
---|---|
ServiceInterfaceDaoHib()
|
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)
Returns the bean with the given id. |
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. |
protected String |
getIdentifier(ServiceInterfaceConfig serviceInterfaceConfig)
|
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 lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao |
---|
add, delete, evict, findByCriteria, findByCriteria, getPersistentClass, setReadOnly, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInterfaceDaoHib()
Method Detail |
---|
protected String getIdentifier(ServiceInterfaceConfig serviceInterfaceConfig)
getIdentifier
in class GenericHibernateManualUpdateDao<ServiceInterfaceConfig,String>
public ServiceInterfaceConfig get(String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
GenericHibernateManualUpdateDao
get
in interface IServiceInterfaceDao
get
in class GenericHibernateManualUpdateDao<ServiceInterfaceConfig,String>
serviceInterfaceId
- the bean's id.daoTransaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.
DaoException
PortalException
public void addOrUpdate(ServiceInterfaceConfig serviceInterfaceConfig, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
addOrUpdate
in interface IServiceInterfaceDao
addOrUpdate
in class GenericHibernateManualUpdateDao<ServiceInterfaceConfig,String>
DaoException
PortalException
public boolean delete(ServiceInterfaceConfig serviceInterfaceConfig, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
delete
in interface IServiceInterfaceDao
DaoException
PortalException
public void setDefaultStyleId(String serviceInterfaceId, String serviceInterfaceStyleId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
setDefaultStyleId
in interface IServiceInterfaceDao
DaoException
PortalException
public String getDefaultStyleId(String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
getDefaultStyleId
in interface IServiceInterfaceDao
DaoException
PortalException
public void setCustomDefaultStyleId(String serviceInterfaceId, String serviceInterfaceStyleId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
setCustomDefaultStyleId
in interface IServiceInterfaceDao
DaoException
PortalException
public String getCustomDefaultStyleId(String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
getCustomDefaultStyleId
in interface IServiceInterfaceDao
DaoException
PortalException
public Collection<String> getIdsByServiceId(String serviceId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceDao
getIdsByServiceId
in interface IServiceInterfaceDao
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |