Package lumis.portal.css
Interface ICssManager
-
- All Superinterfaces:
IConfigDeleter
- All Known Implementing Classes:
CssManager
@StableMinor(version="14.2", sinceVersion="4.0") public interface ICssManager extends IConfigDeleter
Manager Interface for Css operations- Since:
- 4.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
add(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction)
Add a CSS.void
addOrUpdate(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction)
void
delete(SessionConfig sessionConfig, String cssId, ITransaction transaction)
Delete a CSS.String
deserialize(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, Node cssConfigNode, ITransaction transaction)
Deserialize a CSS Configuration from a XML documentCssConfig
get(SessionConfig sessionConfig, String cssId, ITransaction transaction)
Get a CSS configuration.Collection<String>
getChannelIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction)
Collection<String>
getPageIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction)
void
serialize(SessionConfig sessionConfig, String cssId, OutputStream outputStream, ITransaction transaction)
Serializes a CSS Configuration into XML outputStreamvoid
update(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction)
Update a CSS.-
Methods inherited from interface lumis.portal.serialization.operation.IConfigDeleter
deleteConfig
-
-
-
-
Method Detail
-
add
String add(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
Add a CSS.- Parameters:
sessionConfig
-cssConfig
-transaction
-- Returns:
- Returns s String.
- Throws:
ManagerException
PortalException
-
update
void update(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
Update a CSS.- Parameters:
sessionConfig
-cssConfig
-transaction
-- Throws:
ManagerException
PortalException
-
delete
void delete(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
Delete a CSS.- Parameters:
sessionConfig
-cssId
-transaction
-- Throws:
ManagerException
PortalException
-
get
CssConfig get(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
Get a CSS configuration.- Parameters:
sessionConfig
-cssId
-transaction
-- Returns:
- Returns a CssConfig.
- Throws:
ManagerException
PortalException
-
serialize
void serialize(SessionConfig sessionConfig, String cssId, OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
Serializes a CSS Configuration into XML outputStream- Parameters:
sessionConfig
-cssId
-outputStream
-transaction
-- Throws:
ManagerException
PortalException
-
deserialize
String deserialize(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, Node cssConfigNode, ITransaction transaction) throws ManagerException, PortalException
Deserialize a CSS Configuration from a XML document- Parameters:
sessionConfig
-deserializationConfig
-cssConfigNode
-transaction
-- Returns:
- Returns a String.
- Throws:
ManagerException
PortalException
-
getPageIdsUsingCss
Collection<String> getPageIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
- Throws:
ManagerException
PortalException
-
getChannelIdsUsingCss
Collection<String> getChannelIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
- Throws:
ManagerException
PortalException
-
addOrUpdate
void addOrUpdate(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
- Throws:
ManagerException
PortalException
-
-