fr.paris.lutece.plugins.rss.business
Class RssFeed

java.lang.Object
  extended by fr.paris.lutece.plugins.rss.business.RssFeed
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class RssFeed
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

This class represents the business object RssFeed


Constructor Summary
RssFeed()
           
 
Method Summary
 int getId()
          Returns the Id
 int getIdIncludeStyle()
           
 java.lang.String getIncludeTag()
           
 boolean getIsActive()
           
 java.sql.Timestamp getLastFetchDate()
          Returns the LastFetchDate
 java.lang.String getLastFetchError()
          Returns the LastFetchError
 int getLastFetchStatus()
          Returns the LastFetchStatus
 java.lang.String getName()
          Returns the Name
 java.lang.String getUrl()
          Returns the Url
 java.lang.String getWorkgroup()
           
 void setId(int nId)
          Sets the Id
 void setIdIncludeStyle(int nIdIncludeStyle)
          set the id of include style of the rss feed
 void setIncludeTag(java.lang.String strIncludeTag)
          set the include tag of the rss feed
 void setIsActive(boolean bActive)
           
 void setLastFetchDate(java.sql.Timestamp dateLastFetch)
          Sets the LastFetchDate
 void setLastFetchError(java.lang.String strLastFetchError)
          Sets the LastFetchError
 void setLastFetchStatus(int nLastFetchStatus)
          Sets the LastFetchStatus
 void setName(java.lang.String strName)
          Sets the Name
 void setUrl(java.lang.String strUrl)
          Sets the Url
 void setWorkgroup(java.lang.String workGroup)
          set the work group associate to the category
 java.lang.String toString()
          Overrides the default implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RssFeed

public RssFeed()
Method Detail

getId

public int getId()
Returns the Id

Returns:
The Id

setId

public void setId(int nId)
Sets the Id

Parameters:
nId - The Id

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setName

public void setName(java.lang.String strName)
Sets the Name

Parameters:
strName - The Name

getUrl

public java.lang.String getUrl()
Returns the Url

Returns:
The Url

setUrl

public void setUrl(java.lang.String strUrl)
Sets the Url

Parameters:
strUrl - The Url

getLastFetchDate

public java.sql.Timestamp getLastFetchDate()
Returns the LastFetchDate

Returns:
The LastFetchDate

setLastFetchDate

public void setLastFetchDate(java.sql.Timestamp dateLastFetch)
Sets the LastFetchDate

Parameters:
dateLastFetch - The last fetch date

toString

public java.lang.String toString()
Overrides the default implementation

Overrides:
toString in class java.lang.Object
Returns:
A String representation of the object

getLastFetchStatus

public int getLastFetchStatus()
Returns the LastFetchStatus

Returns:
The LastFetchStatus

setLastFetchStatus

public void setLastFetchStatus(int nLastFetchStatus)
Sets the LastFetchStatus

Parameters:
nLastFetchStatus - The LastFetchStatus

getLastFetchError

public java.lang.String getLastFetchError()
Returns the LastFetchError

Returns:
The LastFetchError

setLastFetchError

public void setLastFetchError(java.lang.String strLastFetchError)
Sets the LastFetchError

Parameters:
strLastFetchError - The LastFetchError

getWorkgroup

public java.lang.String getWorkgroup()
Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
the work group associate to the category

setWorkgroup

public void setWorkgroup(java.lang.String workGroup)
set the work group associate to the category

Parameters:
workGroup - the work group associate to the category

getIncludeTag

public java.lang.String getIncludeTag()
Returns:
the label of include tag

setIncludeTag

public void setIncludeTag(java.lang.String strIncludeTag)
set the include tag of the rss feed

Parameters:
strIncludeTag - the include tag of the rss feed

getIdIncludeStyle

public int getIdIncludeStyle()
Returns:
the id of include style of the rss feed

setIdIncludeStyle

public void setIdIncludeStyle(int nIdIncludeStyle)
set the id of include style of the rss feed

Parameters:
nIncludeStyle - set the id of include style of the rss feed

getIsActive

public boolean getIsActive()
Returns:
true if this feed is active

setIsActive

public void setIsActive(boolean bActive)
Parameters:
bActive -


Copyright © 2011 Mairie de Paris. All Rights Reserved.