public interface IServiceInterfaceInstanceDao
Modifier and Type | Method and Description |
---|---|
void |
add(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
ITransaction daoTransaction)
Add the service's interface's instance.
|
void |
delete(String serviceInterfaceInstanceId,
ITransaction daoTransaction)
Delete the service's interface's instance.
|
void |
deleteCustomProperties(String interfaceInstanceId,
ITransaction daoTransaction)
Delete the custom propertires of the service's interface's instance.
|
boolean |
deleteCustomProperty(String interfaceInstanceId,
String name,
ITransaction daoTransaction)
Delete a custom property of the service's interface's instance.
|
ServiceInterfaceInstanceConfig |
get(String interfaceInstanceId,
ITransaction daoTransaction)
Get the service's interface's instance.
|
HashMap<String,String> |
getCustomProperties(String interfaceInstanceId,
ITransaction daoTransaction)
Get all custom properties of the specified service insterface instance.
|
String |
getCustomProperty(String interfaceInstanceId,
String name,
ITransaction daoTransaction)
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 ignoreRuntimeInterfaces,
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 daoTransaction)
Get the id given the id of the service's interface's style.
|
Collection<String> |
getPageInterfaceInstanceIds(String pageId,
ITransaction daoTransaction)
Get the ids of the page's interface's instance.
|
ServiceInterfaceInstanceConfig |
getRunTimeInstance(String serviceInterfaceId,
String serviceInstanceId,
String pagetId,
ITransaction daoTransaction)
Get the runtime instance.
|
boolean |
setCustomProperty(String interfaceInstanceId,
String name,
String value,
ITransaction daoTransaction)
Set the custom property of the service's interface's instance.
|
void |
update(ServiceInterfaceInstanceConfig serviceInterfaceInstance,
ITransaction daoTransaction)
Update the service's interface's instance.
|
ServiceInterfaceInstanceConfig get(String interfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- daoTransaction
- DaoException
PortalException
void add(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction daoTransaction) throws DaoException, PortalException
serviceInterfaceInstance
- daoTransaction
- DaoException
PortalException
void update(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction daoTransaction) throws DaoException, PortalException
serviceInterfaceInstance
- daoTransaction
- DaoException
PortalException
void delete(String serviceInterfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
serviceInterfaceInstanceId
- daoTransaction
- DaoException
PortalException
ServiceInterfaceInstanceConfig getRunTimeInstance(String serviceInterfaceId, String serviceInstanceId, String pagetId, ITransaction daoTransaction) throws DaoException, PortalException
serviceInterfaceId
- serviceInstanceId
- pagetId
- daoTransaction
- DaoException
PortalException
Collection<String> getPageInterfaceInstanceIds(String pageId, ITransaction daoTransaction) throws DaoException, PortalException
pageId
- daoTransaction
- DaoException
PortalException
Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- ignoreRuntimeInterfaces
- transaction
- DaoException
PortalException
Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- ignoreRuntimeInterfaces
- ignorePageTemplates
- TODOtransaction
- DaoException
PortalException
Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
serviceInstanceId
- ignoreRuntimeInterfaces
- transaction
- DaoException
PortalException
Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- serviceInstanceId
- ignoreRuntimeInterfaces
- TODOtransaction
- DaoException
PortalException
Collection<String> getIdsByServiceInterfaceIdAndServiceInstanceId(String serviceInterfaceId, String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- serviceInstanceId
- ignoreRuntimeInterfaces
- TODOignorePageTemplates
- TODOtransaction
- DaoException
PortalException
Collection<String> getIdsByServiceInterfaceStyleId(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction daoTransaction) throws DaoException, PortalException
serviceInterfaceStyleId
- daoTransaction
- DaoException
PortalException
String getCustomProperty(String interfaceInstanceId, String name, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- name
- daoTransaction
- DaoException
PortalException
HashMap<String,String> getCustomProperties(String interfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- daoTransaction
- DaoException
PortalException
boolean setCustomProperty(String interfaceInstanceId, String name, String value, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- name
- value
- daoTransaction
- true
if a modification was done by this method in the persistence, false
if the value was
already set.DaoException
PortalException
void deleteCustomProperties(String interfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- daoTransaction
- DaoException
PortalException
boolean deleteCustomProperty(String interfaceInstanceId, String name, ITransaction daoTransaction) throws DaoException, PortalException
interfaceInstanceId
- name
- daoTransaction
- true
if the property was deleted, false
if the property was not found.DaoException
PortalException
List<String> getIdsByInterfaceStyleId(String interfaceStyleId, ITransaction daoTransaction) throws DaoException, PortalException
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.List<String> getIdsByBaseInterfaceInstanceId(String interfaceInstanceId, ITransaction daoTransaction) throws DaoException, PortalException
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.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.