public interface ModifiableContent extends Content, ModifiableMetadataAwareAmetysObject, ModifiableDublinCoreAwareAmetysObject, RemovableAmetysObject, TaggableAmetysObject
| Modifier and Type | Method and Description |
|---|---|
void |
setCreationDate(Date creationDate)
Set the creation date.
|
void |
setCreator(UserIdentity user)
Set the login of the creator.
|
void |
setLanguage(String language)
Set the type of this Content.
This method may only be called on a new Content, ie. |
void |
setLastContributor(UserIdentity user)
Set the login of the last contributor.
|
void |
setLastMajorValidationDate(Date validationDate)
Set the last validation date resulting from a major modification
|
void |
setLastModified(Date lastModified)
Set the last modification date.
|
void |
setLastValidationDate(Date validationDate)
Set the last validation date
|
void |
setMixinTypes(String[] mixins)
Set the mixins of this Content.
|
void |
setOutgoingReferences(Map<String,OutgoingReferences> references)
Store the outgoing references of the content.
|
void |
setTitle(String title)
Set the title.
|
void |
setTitle(String title,
Locale locale)
Set the title from the given locale
|
void |
setTypes(String[] types)
Set the types of this Content.
|
getCreationDate, getCreator, getLanguage, getLastContributor, getLastMajorValidationDate, getLastModified, getLastValidationDate, getMixinTypes, getOutgoingReferences, getReferencingContents, getRootAttachments, getTitle, getTitle, getTypes, hasReferencingContentsaddAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsersgetAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsersequals, getId, getName, getParent, getParentPath, getPath, hashCodegetMetadataHoldersetDCContributor, setDCCoverage, setDCCreator, setDCDate, setDCDescription, setDCFormat, setDCIdentifier, setDCLanguage, setDCPublisher, setDCRelation, setDCRights, setDCSource, setDCSubject, setDCTitle, setDCTypegetDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCTypeneedsSave, rename, revertChanges, saveChangesremovetag, untaggetTagsvoid setTypes(String[] types) throws AmetysRepositoryException
types - the types of this content.AmetysRepositoryException - if an error occurs.void setMixinTypes(String[] mixins) throws AmetysRepositoryException
mixins - the mixins of this content.AmetysRepositoryException - if an error occurs.void setLanguage(String language) throws AmetysRepositoryException
language - the language of this content.AmetysRepositoryException - if an error occurs.void setTitle(String title, Locale locale) throws AmetysRepositoryException
title - the title.locale - The localeAmetysRepositoryException - if an error occurs.void setTitle(String title) throws AmetysRepositoryException
setTitle(String, Locale) instead.title - the title.AmetysRepositoryException - if an error occurs.void setCreator(UserIdentity user) throws AmetysRepositoryException
user - the creator.AmetysRepositoryException - if an error occurs.void setCreationDate(Date creationDate) throws AmetysRepositoryException
creationDate - the creation date.AmetysRepositoryException - if an error occurs.void setLastContributor(UserIdentity user) throws AmetysRepositoryException
user - the last contributor.AmetysRepositoryException - if an error occurs.void setLastModified(Date lastModified) throws AmetysRepositoryException
lastModified - the last modification date.AmetysRepositoryException - if an error occurs.void setLastValidationDate(Date validationDate) throws AmetysRepositoryException
validationDate - the validation date.AmetysRepositoryException - if an error occurs.void setLastMajorValidationDate(Date validationDate) throws AmetysRepositoryException
validationDate - the validation date.AmetysRepositoryException - if an error occurs.void setOutgoingReferences(Map<String,OutgoingReferences> references) throws AmetysRepositoryException
references - A non null map of outgoing references grouped by metadata (key are metadata path)AmetysRepositoryException - if an error occurs.