com.silverpeas.rssAgregator.model
Class SPChannel

java.lang.Object
  extended by com.stratelia.webactiv.persistence.SilverpeasBean
      extended by com.silverpeas.rssAgregator.model.SPChannel
All Implemented Interfaces:
com.stratelia.webactiv.persistence.SilverpeasBeanIntf, Serializable

public class SPChannel
extends com.stratelia.webactiv.persistence.SilverpeasBean
implements Serializable

Author:
neysseri
See Also:
Serialized Form

Constructor Summary
SPChannel()
          Default constructor
SPChannel(String url)
           
SPChannel(String id, String url)
           
SPChannel(String id, String url, String instanceId)
          Constructor with parameters
 
Method Summary
 de.nava.informa.impl.basic.Channel _getChannel()
           
 int _getConnectionType()
           
 String _getTableName()
           
 void _setChannel(de.nava.informa.impl.basic.Channel channel)
           
 int compareTo(Object obj)
           
 de.nava.informa.impl.basic.Channel getChannel()
           
 String getCreationDate()
           
 String getCreatorId()
           
 int getDisplayImage()
           
 String getInstanceId()
           
 int getNbDisplayedItems()
           
 int getRefreshRate()
           
 String getUrl()
           
 void setChannel(de.nava.informa.impl.basic.Channel channel)
           
 void setCreationDate(String creationDate)
           
 void setCreatorId(String creatorId)
           
 void setDisplayImage(int i)
           
 void setInstanceId(String instanceId)
           
 void setNbDisplayedItems(int nbDisplayedItems)
           
 void setRefreshRate(int i)
           
 void setUrl(String url)
          Set url
 
Methods inherited from class com.stratelia.webactiv.persistence.SilverpeasBean
_getDatasourceName, _getJdbcData, getPK, getSureString, setPK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPChannel

public SPChannel()
Default constructor


SPChannel

public SPChannel(String url)

SPChannel

public SPChannel(String id,
                 String url)

SPChannel

public SPChannel(String id,
                 String url,
                 String instanceId)
Constructor with parameters

Parameters:
id - the channel identifier
url - the RSS url
instanceId - the instance identifier
Method Detail

getUrl

public String getUrl()
Returns:
String representation URL

setUrl

public void setUrl(String url)
Set url

Parameters:
url - the url to set

getCreationDate

public String getCreationDate()
Returns:

getCreatorId

public String getCreatorId()
Returns:
the creator identifier

getNbDisplayedItems

public int getNbDisplayedItems()
Returns:
number of displayed items

setCreationDate

public void setCreationDate(String creationDate)
Parameters:
creationDate - the creation date

setCreatorId

public void setCreatorId(String creatorId)
Parameters:
creatorId - the creator identifier

setNbDisplayedItems

public void setNbDisplayedItems(int nbDisplayedItems)
Parameters:
nbDisplayedItems -

getInstanceId

public String getInstanceId()
Returns:
the instance identifier

setInstanceId

public void setInstanceId(String instanceId)
Parameters:
instanceId - the instance identifier to set

_getConnectionType

public int _getConnectionType()
Specified by:
_getConnectionType in interface com.stratelia.webactiv.persistence.SilverpeasBeanIntf
Overrides:
_getConnectionType in class com.stratelia.webactiv.persistence.SilverpeasBean

compareTo

public int compareTo(Object obj)

_getTableName

public String _getTableName()
Specified by:
_getTableName in interface com.stratelia.webactiv.persistence.SilverpeasBeanIntf
Overrides:
_getTableName in class com.stratelia.webactiv.persistence.SilverpeasBean

getRefreshRate

public int getRefreshRate()
Returns:

setRefreshRate

public void setRefreshRate(int i)
Parameters:
i -

_getChannel

public de.nava.informa.impl.basic.Channel _getChannel()
Returns:

_setChannel

public void _setChannel(de.nava.informa.impl.basic.Channel channel)
Parameters:
channel -

getDisplayImage

public int getDisplayImage()
Returns:

setDisplayImage

public void setDisplayImage(int i)
Parameters:
i -

getChannel

public de.nava.informa.impl.basic.Channel getChannel()
Returns:
the channel

setChannel

public void setChannel(de.nava.informa.impl.basic.Channel channel)
Parameters:
channel - the channel to set


Copyright © 2016 Silverpeas. All Rights Reserved.