lumis.portal.css
Interface ICssManager

Package class diagram package ICssManager
All Superinterfaces:
IConfigDeleter
All Known Implementing Classes:
CssManager

@StableMinor(version="6.2",
             sinceVersion="4.0")
public interface ICssManager
extends IConfigDeleter

Manager Interface for Css operations

Since:
4.0.0

Method Summary
 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 document
 CssConfig 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 outputStream
 void 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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.