Class VersionFileTicket
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<Ticket,UuidIdentifier>
-
- org.silverpeas.core.sharing.model.Ticket
-
- org.silverpeas.core.sharing.model.VersionFileTicket
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class VersionFileTicket extends Ticket
Ticket for files with versions.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.sharing.model.Ticket
Ticket.QUERY_ORDER_BY
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.sharing.model.Ticket
componentId, creationDate, creatorId, endDate, FILE_TYPE, nbAccess, nbAccessMax, NODE_TYPE, PUBLICATION_TYPE, sharedObjectId, sharedObjectType, updateDate, updaterId, VERSION_TYPE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersionFileTicket()
VersionFileTicket(int sharedObjectId, String componentId, String creatorId, Date creationDate, Date endDate, int nbAccessMax)
VersionFileTicket(int sharedObjectId, String componentId, UserDetail creator, Date creationDate, Date endDate, int nbAccessMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShareableAccessControl<VersionFileTicket,HistorisedDocument>
getAccessControl()
HistorisedDocument
getDocument()
ShareableResource<HistorisedDocument>
getResource()
-
Methods inherited from class org.silverpeas.core.sharing.model.Ticket
addDownload, equals, getComponentId, getCreationDate, getCreatorId, getEndDate, getLastModifier, getNbAccess, getNbAccessMax, getSharedObjectId, getSharedObjectType, getToken, getUpdateDate, getUrl, hashCode, isContinuous, isModified, isValid, setContinuous, setCreator, setEndDate, setLastModifier, setNbAccess, setNbAccessMax, setToken, setUpdateDate, toString
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity
getId, getNativeId, isPersisted, setId
-
-
-
-
Constructor Detail
-
VersionFileTicket
public VersionFileTicket(int sharedObjectId, String componentId, String creatorId, Date creationDate, Date endDate, int nbAccessMax)
-
VersionFileTicket
public VersionFileTicket(int sharedObjectId, String componentId, UserDetail creator, Date creationDate, Date endDate, int nbAccessMax)
-
VersionFileTicket
protected VersionFileTicket()
-
-
Method Detail
-
getDocument
public HistorisedDocument getDocument()
-
getResource
public ShareableResource<HistorisedDocument> getResource()
- Specified by:
getResource
in classTicket
-
getAccessControl
public ShareableAccessControl<VersionFileTicket,HistorisedDocument> getAccessControl()
- Specified by:
getAccessControl
in classTicket
-
-