|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.sharing.web.TicketEntity
public class TicketEntity
Field Summary | |
---|---|
protected String |
additionalMessage
|
protected String |
componentId
Main sharing ticket attributes |
protected Long |
creationDate
|
protected String |
creatorId
|
protected List<DownloadDetail> |
downloads
|
protected Long |
endDate
|
protected String |
endDateFormat
|
protected String |
endDateStr
|
protected String |
externalEmails
|
protected int |
nbAccess
|
protected int |
nbAccessMax
|
protected long |
sharedObjectId
|
protected String |
sharedObjectType
|
protected String |
token
|
protected Long |
updateDate
|
protected String |
updaterId
|
protected String |
url
|
protected String |
users
Notification parameter |
protected String |
validity
|
Constructor Summary | |
---|---|
protected |
TicketEntity()
Default constructor |
|
TicketEntity(Ticket ticket,
URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull protected String componentId
@NotNull protected String sharedObjectType
@NotNull protected long sharedObjectId
protected String creatorId
protected Long creationDate
protected String updaterId
protected Long updateDate
protected String validity
protected Long endDate
protected String endDateStr
protected String endDateFormat
@NotNull protected int nbAccessMax
protected int nbAccess
protected String token
protected List<DownloadDetail> downloads
protected String url
protected String users
protected String externalEmails
protected String additionalMessage
Constructor Detail |
---|
protected TicketEntity()
public TicketEntity(Ticket ticket, URI uri)
Method Detail |
---|
public static TicketEntity fromTicket(Ticket ticket, URI uri)
public Ticket toTicket(UserDetail user) throws ParseException
ParseException
public String getComponentId()
public void setComponentId(String componentId)
componentId
- the componentId to setpublic String getSharedObjectType()
public void setSharedObjectType(String sharedObjectType)
sharedObjectType
- the sharedObjectType to setpublic long getSharedObjectId()
public void setSharedObjectId(long sharedObjectId)
sharedObjectId
- the sharedObjectId to setpublic String getCreatorId()
public void setCreatorId(String creatorId)
creatorId
- the creatorId to setpublic Long getCreationDate()
public void setCreationDate(Long creationDate)
creationDate
- the creationDate to setpublic String getUpdaterId()
public void setUpdaterId(String updaterId)
updaterId
- the updaterId to setpublic Long getUpdateDate()
public void setUpdateDate(Long updateDate)
updateDate
- the updateDate to setpublic String getValidity()
public void setValidity(String validity)
validity
- the validity to setpublic Long getEndDate()
public void setEndDate(Long endDate)
endDate
- the endDate to setpublic String getEndDateStr()
public void setEndDateStr(String endDateStr)
endDateStr
- the endDateStr to setpublic String getEndDateFormat()
public void setEndDateFormat(String endDateFormat)
endDateFormat
- the endDateFormat to setpublic int getNbAccessMax()
public void setNbAccessMax(int nbAccessMax)
nbAccessMax
- the nbAccessMax to setpublic int getNbAccess()
public void setNbAccess(int nbAccess)
nbAccess
- the nbAccess to setpublic String getToken()
public void setToken(String token)
token
- the token to setpublic String getUsers()
public void setUsers(String users)
users
- the users to setpublic String getExternalEmails()
public void setExternalEmails(String externalEmails)
externalEmails
- the externalEmails to setpublic String getAdditionalMessage()
public void setAdditionalMessage(String additionalMessage)
additionalMessage
- the additionalMessage to setpublic String getUrl()
public void setUrl(String url)
url
- the url to setpublic void setDownloads(List<DownloadDetail> downloads)
downloads
- the downloads to setpublic List<DownloadDetail> getDownloads()
public void setDownloads(Collection<DownloadDetail> downloads)
public boolean isValid()
public boolean isModified()
public boolean isContinuous()
public void setContinuous()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public URI getURI()
Exposable
getURI
in interface Exposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |