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(String id, ITransaction transaction)
Get the RssSet<String>
getIdsByRssServiceInstanceId(String rssServiceInstanceId, ITransaction transaction)
Returns theRSS
ids by the RSS service instance identifier.Collection<String>
getIdsByServiceInstanceId(String serviceInstanceId, ITransaction transaction)
Get the Rss ids by the Service Instance IdCollection<RssResultRow>
getResults(RssConfig rssConfig, ITransaction transaction)
Get the results of the Rss Xml fileboolean
validateUniqueFilePath(String filePath, String notIncludingRssId, ITransaction transaction)
Verify if already exist a path specified to another RSS
-
-
-
Method Detail
-
get
public RssConfig get(String id, ITransaction transaction) throws PortalException
Description copied from interface:IRssDao
Get the Rss- Specified by:
get
in interfaceIRssDao
- Returns:
- Throws:
PortalException
-
getIdsByServiceInstanceId
public Collection<String> getIdsByServiceInstanceId(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 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(String filePath, 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 Set<String> getIdsByRssServiceInstanceId(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
-
-