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
 Set<String> getIdsByRssServiceInstanceId(String rssServiceInstanceId, ITransaction transaction)
          Returns the RSS ids by the RSS service instance identifier.
 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

getIdsByRssServiceInstanceId

public Set<String> getIdsByRssServiceInstanceId(String rssServiceInstanceId,
                                                ITransaction transaction)
                                         throws PortalException
Description copied from interface: IRssDao
Returns the RSS ids by the RSS service instance identifier.

Specified by:
getIdsByRssServiceInstanceId in interface IRssDao
Parameters:
rssServiceInstanceId - the RSS service instance identifier.
transaction - the transaction.
Returns:
the RSS ids by the RSS service instance identifier.
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.