lumis.service.rss
Interface IRssManager

Package class diagram package IRssManager
All Known Implementing Classes:
RssManager

public interface IRssManager

Manager responsible for RSS-related operations

Since:
4.1.0

Method Summary
 void generateRssXmlFile(SessionConfig sessionConfig, RssConfig rssConfig, String oldPath, ITransaction transaction)
          Generate the Rss Xml File
 RssConfig get(SessionConfig sessionConfig, String id, ITransaction transaction)
          Returns the RssConfig for a Rss with the given id.
 Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction)
          Get the Rss ids by the Service Instance Id
 void instanceDeleted(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstance, ITransaction transaction)
          Removes the public files from the website.
 void instanceMoved(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstance, IPortalBaseFolder oldBaseFolder, IPortalBaseFolder newBaseFolder, ITransaction transaction)
          Moves the public files from the old base folder to the new one.
 void instanceMoved(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstance, IWebsite oldWebsite, IWebsite newWebsite, ITransaction transaction)
          Moves the public files from the old website to the new one.
 boolean validateUniqueFilePath(String filePath, String notIncludingRssId, ITransaction transaction)
          Verify if already exist a path specified to another RSS
 

Method Detail

generateRssXmlFile

void generateRssXmlFile(SessionConfig sessionConfig,
                        RssConfig rssConfig,
                        String oldPath,
                        ITransaction transaction)
                        throws PortalException
Generate the Rss Xml File

Parameters:
sessionConfig -
rssConfig -
oldPath -
transaction -
Throws:
PortalException

get

RssConfig get(SessionConfig sessionConfig,
              String id,
              ITransaction transaction)
              throws PortalException
Returns the RssConfig for a Rss with the given id.

Parameters:
sessionConfig -
id -
transaction -
Returns:
Throws:
PortalException
Since:
4.1.0

getIdsByServiceInstanceId

Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig,
                                             String serviceInstanceId,
                                             ITransaction transaction)
                                             throws PortalException
Get the Rss ids by the Service Instance Id

Parameters:
sessionConfig -
serviceInstanceId -
transaction -
Returns:
Throws:
PortalException
Since:
4.1.0

validateUniqueFilePath

boolean validateUniqueFilePath(String filePath,
                               String notIncludingRssId,
                               ITransaction transaction)
                               throws PortalException
Verify if already exist a path specified to another RSS

Parameters:
filePath -
notIncludingRssId -
transaction -
Returns:
Throws:
PortalException

instanceMoved

void instanceMoved(SessionConfig sessionConfig,
                   ServiceInstanceConfig serviceInstance,
                   IWebsite oldWebsite,
                   IWebsite newWebsite,
                   ITransaction transaction)
                   throws PortalException
Moves the public files from the old website to the new one.

Parameters:
sessionConfig - the user's session.
serviceInstance - the service instance.
oldWebsite - the old website.
newWebsite - the new website.
transaction - the transaction.
Throws:
PortalException
Since:
6.2.0

instanceMoved

void instanceMoved(SessionConfig sessionConfig,
                   ServiceInstanceConfig serviceInstance,
                   IPortalBaseFolder oldBaseFolder,
                   IPortalBaseFolder newBaseFolder,
                   ITransaction transaction)
                   throws PortalException
Moves the public files from the old base folder to the new one.

Parameters:
sessionConfig - the user's session.
serviceInstance - the service instance.
oldBaseFolder - the old base folder.
newBaseFolder - the new base folder.
transaction - the transaction.
Throws:
PortalException
Since:
6.2.0

instanceDeleted

void instanceDeleted(SessionConfig sessionConfig,
                     ServiceInstanceConfig serviceInstance,
                     ITransaction transaction)
                     throws PortalException
Removes the public files from the website.

Parameters:
sessionConfig - the user's session.
serviceInstance - the service instance.
transaction - the transaction.
Throws:
PortalException
Since:
6.2.0


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