Class SimpleFileTicket
- 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.SimpleFileTicket
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class SimpleFileTicket extends Ticket
Ticket for attached files.- 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
SimpleFileTicket()
SimpleFileTicket(int sharedObjectId, String componentId, String creatorId, Date creationDate, Date endDate, int nbAccessMax)
SimpleFileTicket(int sharedObjectId, String componentId, UserDetail creator, Date creationDate, Date endDate, int nbAccessMax)
SimpleFileTicket(String key, 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
getAccessControl()
ShareableResource<SimpleDocument>
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
-
SimpleFileTicket
protected SimpleFileTicket()
-
SimpleFileTicket
public SimpleFileTicket(int sharedObjectId, String componentId, UserDetail creator, Date creationDate, Date endDate, int nbAccessMax)
-
SimpleFileTicket
public SimpleFileTicket(int sharedObjectId, String componentId, String creatorId, Date creationDate, Date endDate, int nbAccessMax)
-
SimpleFileTicket
public SimpleFileTicket(String key, int sharedObjectId, String componentId, UserDetail creator, Date creationDate, Date endDate, int nbAccessMax)
-
-
Method Detail
-
getAccessControl
public ShareableAccessControl getAccessControl()
- Specified by:
getAccessControl
in classTicket
-
getResource
public ShareableResource<SimpleDocument> getResource()
- Specified by:
getResource
in classTicket
-
-