public interface ModifiableResource extends CommentableResource, ModifiableDublinCoreAwareAmetysObject, RemovableAmetysObject, LockableAmetysObject
| Modifier and Type | Method and Description |
|---|---|
void |
setCreationDate(Date creationDate)
Set the creation date if this resource.
|
void |
setCreator(UserIdentity creator)
Set the creator of the resource
|
void |
setData(InputStream stream,
String mimeType,
Date lastModified,
UserIdentity author)
Set binary data.
|
void |
setKeywords(String keywords)
Set this resource's keywords.
|
void |
setKeywords(String[] keywords)
Set this resource's keywords.
|
void |
setLastContributor(UserIdentity lastContributor)
Set the last contributor of the resource
|
void |
setLastModified(Date lastModified)
Set the last modified date if this resource.
|
void |
setMimeType(String mimeType)
Set this resource mime type.
|
getCommentsgetCreationDate, getCreator, getInputStream, getKeywords, getKeywordsAsString, getLastContributor, getLastModified, getLength, getMimeType, getResourcePathgetDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCTypeequals, getId, getName, getParent, getParentPath, getPath, hashCodesetDCContributor, setDCCoverage, setDCCreator, setDCDate, setDCDescription, setDCFormat, setDCIdentifier, setDCLanguage, setDCPublisher, setDCRelation, setDCRights, setDCSource, setDCSubject, setDCTitle, setDCTypeneedsSave, rename, revertChanges, saveChangesremovelock, unlockgetLockOwner, isLockedvoid setData(InputStream stream, String mimeType, Date lastModified, UserIdentity author)
stream - The InputStream.mimeType - The file mimetype.lastModified - The date of last modification.author - The author of last modification.void setCreator(UserIdentity creator)
creator - The authorvoid setLastContributor(UserIdentity lastContributor)
lastContributor - The last contributorvoid setLastModified(Date lastModified)
lastModified - the last modified date.void setCreationDate(Date creationDate)
creationDate - the creation date.void setKeywords(String keywords)
keywords - the comma-separated keywords.void setKeywords(String[] keywords)
keywords - the keywords.void setMimeType(String mimeType)
mimeType - the mime type.