Package lumis.service.rss
Class RssDao
- java.lang.Object
-
- lumis.service.rss.RssDao
-
-
Constructor Summary
Constructors Constructor Description RssDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RssConfig
get(java.lang.String id, ITransaction transaction)
Get the Rssjava.util.Set<java.lang.String>
getIdsByRssServiceInstanceId(java.lang.String rssServiceInstanceId, ITransaction transaction)
Returns theRSS
ids by the RSS service instance identifier.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(java.lang.String serviceInstanceId, ITransaction transaction)
Get the Rss ids by the Service Instance Idjava.util.Collection<RssResultRow>
getResults(RssConfig rssConfig, ITransaction transaction)
Get the results of the Rss Xml fileboolean
validateUniqueFilePath(java.lang.String filePath, java.lang.String notIncludingRssId, ITransaction transaction)
Verify if already exist a path specified to another RSS
-
-
-
Method Detail
-
get
public RssConfig get(java.lang.String id, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Get the Rss- Specified by:
get
in interfaceIRssDao
- Returns:
- Throws:
PortalException
-
getIdsByServiceInstanceId
public java.util.Collection<java.lang.String> getIdsByServiceInstanceId(java.lang.String serviceInstanceId, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Get the Rss ids by the Service Instance Id- Specified by:
getIdsByServiceInstanceId
in interfaceIRssDao
- Returns:
- Throws:
PortalException
-
getResults
public java.util.Collection<RssResultRow> getResults(RssConfig rssConfig, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Get the results of the Rss Xml file- Specified by:
getResults
in interfaceIRssDao
- Returns:
- Throws:
PortalException
-
validateUniqueFilePath
public boolean validateUniqueFilePath(java.lang.String filePath, java.lang.String notIncludingRssId, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Verify if already exist a path specified to another RSS- Specified by:
validateUniqueFilePath
in interfaceIRssDao
- Returns:
- Throws:
PortalException
-
getIdsByRssServiceInstanceId
public java.util.Set<java.lang.String> getIdsByRssServiceInstanceId(java.lang.String rssServiceInstanceId, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Returns theRSS
ids by the RSS service instance identifier.- Specified by:
getIdsByRssServiceInstanceId
in interfaceIRssDao
- Parameters:
rssServiceInstanceId
- the RSS service instance identifier.transaction
- the transaction.- Returns:
- the
RSS
ids by the RSS service instance identifier. - Throws:
PortalException
-
-