public class ServiceInterfaceInstanceDaoJdbc extends Object implements IServiceInterfaceInstanceDao
Constructor and Description |
---|
ServiceInterfaceInstanceDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
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> |
getIdsByBaseInterfaceInstanceId(String interfaceInstanceId,
ITransaction daoTransaction)
Returns a list of ids of interface instances that have the given base interface instance id.
|
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.
|
boolean |
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.
|
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
- TODODaoException
PortalException
public Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByServiceInterfaceIdAndServiceInstanceId
in interface IServiceInterfaceInstanceDao
ignoreRuntimeInterfaces
- TODODaoException
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
- TODODaoException
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 boolean setCustomProperty(String interfaceInstanceId, String name, String value, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
setCustomProperty
in interface IServiceInterfaceInstanceDao
true
if a modification was done by this method in the persistence, false
if the value was
already set.DaoException
PortalException
public void deleteCustomProperties(String interfaceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
deleteCustomProperties
in interface IServiceInterfaceInstanceDao
DaoException
PortalException
public boolean deleteCustomProperty(String interfaceInstanceId, String name, ITransaction transaction) throws PortalException
IServiceInterfaceInstanceDao
deleteCustomProperty
in interface IServiceInterfaceInstanceDao
true
if the property was deleted, false
if the property was not found.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.public List<String> getIdsByBaseInterfaceInstanceId(String interfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
IServiceInterfaceInstanceDao
getIdsByBaseInterfaceInstanceId
in interface IServiceInterfaceInstanceDao
interfaceInstanceId
- identifier of the interface instance 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.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.