Package org.cyclos.entities.system
Class TempFile
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,INamedEntity
@Entity public class TempFile extends RawFile implements DefinesNetwork
A temporary file that can later be moved to custom field value
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description TempFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsergetByUser()CustomField<?,?,?>getCustomField()StringgetGuestKey()RawFileNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs tovoidsetByUser(User byUser)voidsetCustomField(CustomField<?,?,?> customField)voidsetGuestKey(String guestKey)voidsetNetwork(Network network)-
Methods inherited from class org.cyclos.entities.utils.StoredFile
getContentType, getLastModified, getLastModifiedInMillis, getLength, getMetadata, setContentType, setLastModified, setLength, setMetadata
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getByUser
public User getByUser()
-
getCustomField
public CustomField<?,?,?> getCustomField()
-
getGuestKey
public String getGuestKey()
-
getNature
public RawFileNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
setByUser
public void setByUser(User byUser)
-
setCustomField
public void setCustomField(CustomField<?,?,?> customField)
-
setGuestKey
public void setGuestKey(String guestKey)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
-