public class Announce extends Object implements Serializable, fr.paris.lutece.portal.service.resource.IExtendableResource, fr.paris.lutece.portal.service.rbac.RBACResource, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE
Announce resource type
|
Constructor and Description |
---|
Announce() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Category |
getCategory()
gets the category
|
String |
getContactInformation()
gets the contact information
|
Timestamp |
getDateCreation()
gets the creation date
|
Timestamp |
getDateModification()
Get the modification date
|
Timestamp |
getDatePublication() |
String |
getDescription()
gets the description
|
String |
getExtendableResourceDescription() |
String |
getExtendableResourceImageUrl() |
String |
getExtendableResourceName() |
String |
getExtendableResourceType() |
int |
getHasNotify() |
boolean |
getHasPictures()
weather or not the announce has pictures in slideshow
|
int |
getId()
Returns the IdAnnounce
|
String |
getIdExtendableResource() |
List<Integer> |
getListIdImageResponse()
Gets the list of ids of images responses of this announce
|
List<fr.paris.lutece.plugins.genericattributes.business.Response> |
getListResponse()
Get the list of responses of this announce
|
Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> |
getListWorkflowActions()
Get the list of workflow actions of this announce
|
Double |
getPrice()
gets the price of the announce
|
boolean |
getPublished()
Returns the Published state
|
String |
getResourceId() |
String |
getResourceTypeCode() |
boolean |
getSuspended()
gets the suspended state
|
boolean |
getSuspendedByUser()
Check if the announce was suspended by the user or not
|
String |
getTags()
gets the tags of announce
|
long |
getTimePublication()
gets the publication time
|
String |
getTitle()
gets the title
|
String |
getUserLastName()
gets the user name
|
String |
getUserName()
gets the user name
|
String |
getUserSecondName()
gets the user name
|
void |
setCategory(Category category)
sets the announce category
|
void |
setContactInformation(String strContactInformation)
sets the contact information
|
void |
setDateCreation(Timestamp time)
sets the creation date
|
void |
setDateModification(Timestamp dateModification)
Set the modification date
|
void |
setDatePublication() |
void |
setDescription(String strDescription)
sets the description
|
void |
setHasNotify(int nHasNotify) |
void |
setHasPictures(boolean bHasPictures)
set weather or not the announce has pictures
|
void |
setId(int nIdAnnounce)
Sets the IdAnnounce
|
void |
setListIdImageResponse(List<Integer> listIdImageResponse)
Sets the list of ids of images responses of this announce
|
void |
setListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
Set the list of responses of this announce
|
void |
setListWorkflowActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> listActions)
Set the list of workflow actions of this announce
|
void |
setPrice(Double price)
sets the price of the announce
|
void |
setPublished(boolean bPublished)
Sets the Published state
|
void |
setSuspended(boolean bSuspended)
sets the suspended state
|
void |
setSuspendedByUser(boolean bSuspendedByUser)
Set the announce was suspended by the user or not
|
void |
setTags(String strTags)
sets the Tags of announce
|
void |
setTimePublication(long lTime)
sets the publication time
|
void |
setTitle(String strTitle)
gets the title
|
void |
setUserLastName(String strUserLastName)
sets the announce user name
|
void |
setUserName(String strUserName)
sets the announce user name
|
void |
setUserSecondName(String strUserSecondName)
sets the announce user name
|
public static final String RESOURCE_TYPE
public List<fr.paris.lutece.plugins.genericattributes.business.Response> getListResponse()
public void setListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
listResponse
- The list of responses of this announcepublic int getId()
public void setId(int nIdAnnounce)
nIdAnnounce
- The IdAnnouncepublic boolean getPublished()
public void setPublished(boolean bPublished)
bPublished
- the published statepublic boolean getSuspended()
public void setSuspended(boolean bSuspended)
bSuspended
- the suspended statepublic String getTitle()
public String getDescription()
public void setTitle(String strTitle)
strTitle
- gets the suspended statepublic void setDescription(String strDescription)
strDescription
- the descriptionpublic Category getCategory()
public void setCategory(Category category)
category
- the announce categorypublic String getUserName()
public void setUserName(String strUserName)
strUserName
- the user namepublic String getUserLastName()
public void setUserLastName(String strUserLastName)
strUserName
- the user namepublic String getUserSecondName()
public void setUserSecondName(String strUserSecondName)
strUserName
- the user namepublic boolean getHasPictures()
public void setHasPictures(boolean bHasPictures)
bHasPictures
- weather or not the announce has picturespublic List<Integer> getListIdImageResponse()
public void setListIdImageResponse(List<Integer> listIdImageResponse)
listIdImageResponse
- the list of ids of image responses of this announcepublic Timestamp getDateCreation()
public void setDateCreation(Timestamp time)
time
- the creation datepublic Timestamp getDateModification()
public void setDateModification(Timestamp dateModification)
dateModification
- The modification datepublic long getTimePublication()
public void setTimePublication(long lTime)
lTime
- the publication timepublic String getContactInformation()
public void setContactInformation(String strContactInformation)
strContactInformation
- the contact informationpublic Double getPrice()
public void setPrice(Double price)
price
- the price of the announcepublic boolean getSuspendedByUser()
public void setSuspendedByUser(boolean bSuspendedByUser)
bSuspendedByUser
- True to set the announce was suspended by the user or not, false otherwisepublic String getTags()
public void setTags(String strTags)
strTags
- the Tags of announcepublic String getIdExtendableResource()
getIdExtendableResource
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceType()
getExtendableResourceType
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceName()
getExtendableResourceName
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceDescription()
getExtendableResourceDescription
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceImageUrl()
getExtendableResourceImageUrl
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getListWorkflowActions()
public void setListWorkflowActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> listActions)
listActions
- The list of workflow actions of this announcepublic String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public Timestamp getDatePublication()
public void setDatePublication()
_datePublication
- the _datePublication to setpublic int getHasNotify()
public void setHasNotify(int nHasNotify)
nHasNotify
- the _nHasNotify to setCopyright © 2019 City of Paris. All rights reserved.