|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceDaoJdbc
public class ServiceInterfaceInstanceDaoJdbc
JDBC based DAO implementation for service interface instance.
Constructor Summary | |
---|---|
ServiceInterfaceInstanceDaoJdbc()
|
Method Summary | |
---|---|
void |
add(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
ITransaction transaction)
Add the service's interface's instance. |
void |
delete(String serviceInterfaceInstanceId,
ITransaction transaction)
Delete the service's interface's instance. |
void |
deleteCustomProperties(String interfaceInstanceId,
ITransaction transaction)
Delete the custom propertires of the service's interface's instance. |
void |
deleteCustomProperty(String interfaceInstanceId,
String name,
ITransaction transaction)
Delete a custom property of the service's interface's instance. |
ServiceInterfaceInstanceConfig |
get(String interfaceInstanceId,
ITransaction transaction)
Get the service's interface's instance. |
HashMap<String,String> |
getCustomProperties(String interfaceInstanceId,
ITransaction transaction)
Get all custom properties of the specified service insterface instance. |
String |
getCustomProperty(String interfaceInstanceId,
String name,
ITransaction transaction)
Get the custom property of the service's interface's instance. |
List<String> |
getIdsByInterfaceStyleId(String interfaceStyleId,
ITransaction daoTransaction)
Returns a list of ids of interface instances that uses the given interface style id. |
Collection<String> |
getIdsByServiceInstanceId(String serviceInstanceId,
boolean includeRunTimeInterfaces,
ITransaction transaction)
Get a list of ids given the id of the id of the service's instance. |
Collection<String> |
getIdsByServiceInterfaceId(String serviceInterfaceId,
boolean ignoreRuntimeInterfaces,
boolean ignorePageTemplates,
ITransaction transaction)
Get a list of ids given the id of the service's interface. |
Collection<String> |
getIdsByServiceInterfaceId(String serviceInterfaceId,
boolean ignoreRuntimeInterfaces,
ITransaction transaction)
Get a list of ids given the id of the service's interface. |
Collection<String> |
getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId,
String serviceInstanceId,
boolean ignoreRuntimeInterfaces,
boolean ignorePageTemplates,
ITransaction transaction)
Get a list of ids given the id of the service's interface and the id of the service's instance. |
Collection<String> |
getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId,
String serviceInstanceId,
boolean ignoreRuntimeInterfaces,
ITransaction transaction)
Get a list of ids given the id of the service's interface and the id of the service's instance. |
Collection<String> |
getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId,
String serviceInterfaceId,
ITransaction transaction)
Get the id given the id of the service's interface's style. |
Collection<String> |
getPageInterfaceInstanceIds(String pageId,
ITransaction transaction)
Get the ids of the page's interface's instance. |
ServiceInterfaceInstanceConfig |
getRunTimeInstance(String serviceInterfaceId,
String serviceInstanceId,
String pageId,
ITransaction transaction)
Get the runtime instance. |
void |
setCustomProperty(String interfaceInstanceId,
String name,
String value,
ITransaction transaction)
Set the custom property of the service's interface's instance. |
void |
update(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
ITransaction transaction)
Update the service's interface's instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInterfaceInstanceDaoJdbc()
Method Detail |
---|
public ServiceInterfaceInstanceConfig get(String interfaceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
get
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
add
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
update
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void delete(String serviceInterfaceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
delete
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId, String serviceInstanceId, String pageId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getRunTimeInstance
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public Collection<String> getPageInterfaceInstanceIds(String pageId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getPageInterfaceInstanceIds
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceId
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceId
in interface IServiceInterfaceInstanceDao
ignorePageTemplates
- TODO
DaoException
PortalException
public Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceIdAndServiceInstanceId
in interface IServiceInterfaceInstanceDao
ignoreRuntimeInterfaces
- TODO
DaoException
PortalException
public Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceIdAndServiceInstanceId
in interface IServiceInterfaceInstanceDao
ignoreRuntimeInterfaces
- TODOignorePageTemplates
- TODO
DaoException
PortalException
public Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, boolean includeRunTimeInterfaces, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInstanceId
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public Collection<String> getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceStyleId
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public String getCustomProperty(String interfaceInstanceId, String name, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getCustomProperty
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public HashMap<String,String> getCustomProperties(String interfaceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getCustomProperties
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void setCustomProperty(String interfaceInstanceId, String name, String value, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
setCustomProperty
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void deleteCustomProperties(String interfaceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
deleteCustomProperties
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public void deleteCustomProperty(String interfaceInstanceId, String name, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
deleteCustomProperty
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public List<String> getIdsByInterfaceStyleId(String interfaceStyleId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByInterfaceStyleId
in interface IServiceInterfaceInstanceDao
interfaceStyleId
- identifier of the style to be used on the search to filter the interface instances.daoTransaction
- the transaction for persistence access.
DaoException
- if any error occurs during communication process with database.
PortalException
- if any error occurs during the process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |