public class CssManager extends Object implements ICssManager
Constructor and Description |
---|
CssManager() |
Modifier and Type | Method and 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.
|
void |
deleteConfig(DeserializationContext deserializationContext,
String configId) |
String |
deserialize(SessionConfig sessionConfig,
DeserializationConfig deserializationConfig,
Node cssConfigNode,
ITransaction transaction)
Deserialize a CSS Configuration from a XML document
|
CssConfig |
get(SessionConfig sessionConfig,
String cssId,
ITransaction transaction)
Get a CSS configuration.
|
List<CssConfig> |
getAll(SessionConfig sessionConfig,
ITransaction transaction) |
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 outputStream
|
void |
update(SessionConfig sessionConfig,
CssConfig cssConfig,
ITransaction transaction)
Update a CSS.
|
public String add(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
ICssManager
add
in interface ICssManager
ManagerException
PortalException
public void update(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
ICssManager
update
in interface ICssManager
ManagerException
PortalException
public void addOrUpdate(SessionConfig sessionConfig, CssConfig cssConfig, ITransaction transaction) throws ManagerException, PortalException
addOrUpdate
in interface ICssManager
ManagerException
PortalException
public void delete(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
ICssManager
delete
in interface ICssManager
ManagerException
PortalException
public CssConfig get(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
ICssManager
get
in interface ICssManager
ManagerException
PortalException
public void serialize(SessionConfig sessionConfig, String cssId, OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
ICssManager
serialize
in interface ICssManager
ManagerException
PortalException
public String deserialize(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, Node cssConfigNode, ITransaction transaction) throws ManagerException, PortalException
ICssManager
deserialize
in interface ICssManager
ManagerException
PortalException
public Collection<String> getPageIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
getPageIdsUsingCss
in interface ICssManager
ManagerException
PortalException
public Collection<String> getChannelIdsUsingCss(SessionConfig sessionConfig, String cssId, ITransaction transaction) throws ManagerException, PortalException
getChannelIdsUsingCss
in interface ICssManager
ManagerException
PortalException
public void deleteConfig(DeserializationContext deserializationContext, String configId) throws PortalException
deleteConfig
in interface IConfigDeleter
PortalException
public List<CssConfig> getAll(SessionConfig sessionConfig, ITransaction transaction) throws ManagerException, PortalException
ManagerException
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.