public class TempFile
extends java.lang.Object
Constructor and Description |
---|
TempFile(java.nio.file.Path path) |
TempFile(java.nio.file.Path path,
java.util.Collection<User> permittedUsers) |
TempFile(java.nio.file.Path path,
java.lang.String webId) |
TempFile(java.nio.file.Path path,
java.lang.String webId,
java.util.Collection<User> permittedUsers) |
TempFile(java.nio.file.Path path,
User permittedUser) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated() |
java.lang.String |
getDownloadName() |
java.util.Date |
getLastAccessed() |
java.lang.String |
getMimeType() |
java.nio.file.Path |
getPath() |
java.util.Collection<User> |
getPermittedUsers() |
java.lang.String |
getWebId() |
boolean |
isPermittedUser(User user) |
void |
setDownloadName(java.lang.String downloadName) |
void |
setLastAccessed() |
void |
setLastAccessed(java.util.Date lastAccessed) |
void |
setMimeType(java.lang.String mimeType) |
public TempFile(java.nio.file.Path path)
public TempFile(java.nio.file.Path path, java.lang.String webId)
public TempFile(java.nio.file.Path path, User permittedUser)
public TempFile(java.nio.file.Path path, java.util.Collection<User> permittedUsers)
public TempFile(java.nio.file.Path path, java.lang.String webId, java.util.Collection<User> permittedUsers)
public java.lang.String getWebId()
public java.nio.file.Path getPath()
public java.util.Collection<User> getPermittedUsers()
public boolean isPermittedUser(User user)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public java.lang.String getDownloadName()
public void setDownloadName(java.lang.String downloadName)
public java.util.Date getCreated()
public java.util.Date getLastAccessed()
public void setLastAccessed(java.util.Date lastAccessed)
public void setLastAccessed()