Package lumis.service.rss
Interface IRssManager
-
- All Known Implementing Classes:
RssManager
public interface IRssManager
Manager responsible for RSS-related operations- Since:
- 4.1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
generateRssXmlFile(SessionConfig sessionConfig, RssConfig rssConfig, java.lang.String oldPath, ITransaction transaction)
Generate the Rss Xml FileRssConfig
get(SessionConfig sessionConfig, java.lang.String id, ITransaction transaction)
Returns the RssConfig for a Rss with the given id.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction)
Get the Rss ids by the Service Instance Idvoid
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 oldbase 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(java.lang.String filePath, java.lang.String notIncludingRssId, ITransaction transaction)
Verify if already exist a path specified to another RSS
-
-
-
Method Detail
-
generateRssXmlFile
void generateRssXmlFile(SessionConfig sessionConfig, RssConfig rssConfig, java.lang.String oldPath, ITransaction transaction) throws PortalException
Generate the Rss Xml File- Parameters:
sessionConfig
-rssConfig
-oldPath
-transaction
-- Throws:
PortalException
-
get
RssConfig get(SessionConfig sessionConfig, java.lang.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
java.util.Collection<java.lang.String> getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.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(java.lang.String filePath, java.lang.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 oldbase 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
-
-