|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.delegatednews.web.DelegatedNewsEntity
public class DelegatedNewsEntity
The delegated news entity is a delegated news object that is exposed in the web as an entity (web entity). As such, it publishes only some of its attributes It represents a delegated news in Silverpeas plus some additional information such as the URI for accessing it.
Constructor Summary | |
---|---|
protected |
DelegatedNewsEntity()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static DelegatedNewsEntity |
fromDelegatedNews(DelegatedNews delegatedNews)
Creates a new delegated news entity from the specified delegated news. |
Date |
getBeginDate()
Gets the begin date of visibility of the delegated news. |
com.silverpeas.profile.web.UserProfileEntity |
getContributor()
Gets the id of the contributor. |
Date |
getEndDate()
Gets the end date of visibility of the delegated news. |
String |
getInstanceId()
Gets the identifier of the Silverpeas instance identifier. |
int |
getNewsOrder()
Gets the order of the delegated news. |
int |
getPubId()
Gets the identifier of the delegated news. |
String |
getPubTitle()
Gets the title of the delegated news. |
String |
getStatus()
Gets the status of the delegated news. |
URI |
getURI()
Gets the URI of this comment entity. |
Date |
getValidationDate()
Gets the date at which the delegated news was validated. |
com.silverpeas.profile.web.UserProfileEntity |
getValidator()
Gets the id of the validator. |
int |
hashCode()
|
DelegatedNews |
toDelegatedNews()
Gets the delegated news business objet that this entity represents. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatedNewsEntity()
Method Detail |
---|
public URI getURI()
getURI
in interface com.silverpeas.web.Exposable
public int getPubId()
public String getPubTitle()
public String getInstanceId()
public String getStatus()
public com.silverpeas.profile.web.UserProfileEntity getContributor()
public com.silverpeas.profile.web.UserProfileEntity getValidator()
public Date getValidationDate()
public Date getBeginDate()
public Date getEndDate()
public int getNewsOrder()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public DelegatedNews toDelegatedNews()
public static DelegatedNewsEntity fromDelegatedNews(DelegatedNews delegatedNews)
delegatedNews
- the delegated news to entitify.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |