|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceInterfaceStyleDao
Method Summary | |
---|---|
void |
addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig,
ITransaction transaction)
Add or update the style of the service's interface. |
void |
delete(String serviceInterfaceStyleId,
String serviceInterfaceId,
ITransaction transaction)
Delete the style of the service's interface. |
ServiceInterfaceStyleConfig |
get(String serviceInterfaceStyleId,
String serviceInterfaceId,
ITransaction transaction)
Get the style of the service's interface. |
Collection<String> |
getIdsByInterfaceInstanceId(String interfaceId,
String serviceInterfaceId,
String interfaceInstanceId,
boolean onlyCustomStyles,
ITransaction daoTransaction)
Get the list of Ids of all styles available to an interface instance considering the isolation rules. |
Collection<String> |
getIdsByServiceInterfaceId(String serviceInterfaceId,
ITransaction transaction)
Get a list of ids given the id of the service's interface. |
Collection<String> |
getIdsByXslFilePath(String xslFilePath,
ITransaction daoTransaction)
Returns a list of interface style ids that use the given XSL file. |
ServiceInterfaceStyleConfig |
getWidgetStyle(String serviceInterfaceId,
ITransaction transaction)
Get the widget style of the service's interface. |
Method Detail |
---|
void addOrUpdate(ServiceInterfaceStyleConfig serviceInterfaceStyleConfig, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceStyleConfig
- transaction
-
DaoException
PortalException
void delete(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceStyleId
- serviceInterfaceId
- transaction
-
DaoException
PortalException
ServiceInterfaceStyleConfig get(String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceStyleId
- serviceInterfaceId
- transaction
-
DaoException
PortalException
Collection<String> getIdsByServiceInterfaceId(String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- service interface identifier.transaction
- transaction used to perform the query on database.
DaoException
- if any error occurs during the process of communication with
database.
PortalException
- if any other error occurs during the process.Collection<String> getIdsByInterfaceInstanceId(String interfaceId, String serviceInterfaceId, String interfaceInstanceId, boolean onlyCustomStyles, ITransaction daoTransaction) throws DaoException, PortalException
The isolation rules are:
Isolated
- Can
be used only by one interface instance.Non-Isolated
- Can
be used for any the interface instance. This level is the default for new
styles.Shared
- Can be
used just by service instances indicated by the user during the add
custom interface style process.
interfaceId
- identifier of the interface target.serviceInterfaceId
- service interface identifier.interfaceInstanceId
- interface instance identifier.onlyCustomStyles
- determine if is to return only custom styles.daoTransaction
- transaction used to perform the query on database.
DaoException
- if any error occurs during the process of communication with
database.
PortalException
- if any other error occurs during the process.ServiceInterfaceStyleConfig getWidgetStyle(String serviceInterfaceId, ITransaction transaction) throws DaoException, PortalException
serviceInterfaceId
- id of interface.transaction
- transaction used to get information from database.
DaoException
- if any error occurs during the process on database.
PortalException
- if any error occurs during the process.Collection<String> getIdsByXslFilePath(String xslFilePath, ITransaction daoTransaction) throws DaoException, PortalException
xslFilePath
- the XSL file path.daoTransaction
- transaction used to get information from database.
DaoException
- if any error occurs during the process on 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 |