|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.rss.RssManager
public class RssManager
Implementation for the RSS manager.
Constructor Summary | |
---|---|
RssManager()
|
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 |
protected String |
getSourceFieldValue(Node sourceNode,
String fieldId,
String fieldType,
String errorMessage,
boolean stored,
boolean showError)
|
protected void |
prepare(RssConfig rssConfig,
ITransaction transaction)
Prepare data and validate to insert in table |
protected String |
processHeader(String header)
|
boolean |
validateUniqueFilePath(String filePath,
String notIncludingRssId,
ITransaction transaction)
Verify if already exist a path specified to another RSS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RssManager()
Method Detail |
---|
public void generateRssXmlFile(SessionConfig sessionConfig, RssConfig rssConfig, String oldPath, ITransaction transaction) throws PortalException, ServiceException
IRssManager
generateRssXmlFile
in interface IRssManager
PortalException
ServiceException
protected String processHeader(String header) throws PortalException
PortalException
public RssConfig get(SessionConfig sessionConfig, String id, ITransaction transaction) throws PortalException
IRssManager
get
in interface IRssManager
PortalException
public Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws PortalException
IRssManager
getIdsByServiceInstanceId
in interface IRssManager
PortalException
protected void prepare(RssConfig rssConfig, ITransaction transaction) throws PortalException
rssConfig
- transaction
-
PortalException
protected String getSourceFieldValue(Node sourceNode, String fieldId, String fieldType, String errorMessage, boolean stored, boolean showError) throws PortalException
PortalException
public boolean validateUniqueFilePath(String filePath, String notIncludingRssId, ITransaction transaction) throws PortalException
IRssManager
validateUniqueFilePath
in interface IRssManager
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |