lumis.service.rss
Class RssDao

Package class diagram package RssDao
java.lang.Object
  extended by lumis.service.rss.RssDao
All Implemented Interfaces:
IRssDao

public class RssDao
extends Object
implements IRssDao

DAO JDBC implementation for RSS related data

Since:
4.1.0

Constructor Summary
RssDao()
           
 
Method Summary
 RssConfig get(String id, ITransaction transaction)
          Get the Rss
 Collection<String> getIdsByServiceInstanceId(String serviceInstanceId, ITransaction transaction)
          Get the Rss ids by the Service Instance Id
 Collection<RssResultRow> getResults(RssConfig rssConfig, ITransaction transaction)
          Get the results of the Rss Xml file
 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

RssDao

public RssDao()
Method Detail

get

public RssConfig get(String id,
                     ITransaction transaction)
              throws PortalException
Description copied from interface: IRssDao
Get the Rss

Specified by:
get in interface IRssDao
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 interface IRssDao
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 interface IRssDao
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 interface IRssDao
Returns:
Throws:
PortalException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.