org.olat.notifications
Class PublisherImpl

java.lang.Object
  extended by org.olat.core.commons.persistence.PersistentObject
      extended by org.olat.notifications.PublisherImpl
All Implemented Interfaces:
java.io.Serializable, CreateInfo, Persistable, Publisher

public class PublisherImpl
extends PersistentObject
implements Publisher

Description:
TODO: Felix Jost Class Description for PublisherImpl

Initial Date: 21.10.2004

Author:
Felix Jost
See Also:
Serialized Form

Method Summary
 java.lang.String getBusinessPath()
           
 java.lang.String getData()
           
 java.util.Date getLatestNewsDate()
           
 java.lang.Long getResId()
           
 java.lang.String getResName()
           
 int getState()
           
 java.lang.String getSubidentifier()
           
 java.lang.String getType()
           
 void setBusinessPath(java.lang.String businessPath)
           
 void setData(java.lang.String data)
           
 void setLatestNewsDate(java.util.Date latestNewsDate)
           
 void setResId(java.lang.Long resId)
           
 void setResName(java.lang.String resName)
           
 void setState(int state)
           
 void setSubidentifier(java.lang.String subidentifier)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.olat.core.commons.persistence.PersistentObject
equalsByPersistableKey, getCreationDate, getKey, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.olat.core.id.Persistable
equalsByPersistableKey, getKey
 
Methods inherited from interface org.olat.core.id.CreateInfo
getCreationDate
 

Method Detail

getResId

public java.lang.Long getResId()
Specified by:
getResId in interface Publisher
Returns:
resId

setResId

public void setResId(java.lang.Long resId)
Specified by:
setResId in interface Publisher
Parameters:
resId -

getResName

public java.lang.String getResName()
Specified by:
getResName in interface Publisher
Returns:
resName

setResName

public void setResName(java.lang.String resName)
Specified by:
setResName in interface Publisher
Parameters:
resName -

getSubidentifier

public java.lang.String getSubidentifier()
Specified by:
getSubidentifier in interface Publisher
Returns:
the subidentifier

setSubidentifier

public void setSubidentifier(java.lang.String subidentifier)
Specified by:
setSubidentifier in interface Publisher
Parameters:
subidentifier - (max len 255)

getType

public java.lang.String getType()
Specified by:
getType in interface Publisher
Returns:
the type

setType

public void setType(java.lang.String type)
Specified by:
setType in interface Publisher
Parameters:
type -

getData

public java.lang.String getData()
Specified by:
getData in interface Publisher
Returns:
the data (normally an xml unpacked by streams into an java object
See Also:
org.olat.notifications.Publisher#getData()

setData

public void setData(java.lang.String data)
Specified by:
setData in interface Publisher
Parameters:
data -

getState

public int getState()
Specified by:
getState in interface Publisher
Returns:
Returns the state.

setState

public void setState(int state)
Specified by:
setState in interface Publisher
Parameters:
state - The state to set.

getLatestNewsDate

public java.util.Date getLatestNewsDate()
Specified by:
getLatestNewsDate in interface Publisher
Returns:
Returns the latestNewsDate.

setLatestNewsDate

public void setLatestNewsDate(java.util.Date latestNewsDate)
Specified by:
setLatestNewsDate in interface Publisher
Parameters:
latestNewsDate - The latestNewsDate to set.

getBusinessPath

public java.lang.String getBusinessPath()
Specified by:
getBusinessPath in interface Publisher

setBusinessPath

public void setBusinessPath(java.lang.String businessPath)
Specified by:
setBusinessPath in interface Publisher