Interface ModifiableDublinCoreAwareAmetysObject
- All Superinterfaces:
AmetysObject
,DublinCoreAwareAmetysObject
,ModifiableAmetysObject
- All Known Subinterfaces:
CommentableContent
,ModifiableContent
,ModifiableResource
,ModifiableWebContent
,ModifiableWorkflowAwareContent
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractTraversableProgramPart
,Container
,Course
,CourseList
,CoursePart
,JCRResource
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,SubProgram
public interface ModifiableDublinCoreAwareAmetysObject
extends DublinCoreAwareAmetysObject, ModifiableAmetysObject
Interface for ametys objects which can contain Dublin Core metadata.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDCContributor
(String contributor) Set the Dublin Core contributor.void
setDCCoverage
(String coverage) Set the Dublin Core coverage.void
setDCCreator
(String creator) Set the Dublin Core creator.void
Set the Dublin Core date.void
setDCDescription
(String description) Set the Dublin Core description.void
setDCFormat
(String format) Set the Dublin Core format.void
setDCIdentifier
(String identifier) Set the Dublin Core identifier.void
setDCLanguage
(String language) Set the Dublin Core language.void
setDCPublisher
(String publisher) Set the Dublin Core publisher.void
setDCRelation
(String relation) Set the Dublin Core relation.void
setDCRights
(String rights) Set the Dublin Core rights.void
setDCSource
(String source) Set the Dublin Core source.void
setDCSubject
(String[] subject) Set the Dublin Core subject.void
setDCTitle
(String title) Set the Dublin Core title.void
Set the Dublin Core type.Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.dublincore.DublinCoreAwareAmetysObject
getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
-
Method Details
-
setDCTitle
Set the Dublin Core title.- Parameters:
title
- the Dublin Core title to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCCreator
Set the Dublin Core creator.- Parameters:
creator
- the Dublin Core creator to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCSubject
Set the Dublin Core subject.- Parameters:
subject
- the Dublin Core subject to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCDescription
Set the Dublin Core description.- Parameters:
description
- the Dublin Core description to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCPublisher
Set the Dublin Core publisher.- Parameters:
publisher
- the Dublin Core publisher to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCContributor
Set the Dublin Core contributor.- Parameters:
contributor
- the Dublin Core contributor to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCDate
Set the Dublin Core date.- Parameters:
date
- the Dublin Core date to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCType
Set the Dublin Core type. You can use a constant from org.ametys.plugins.repository.dublincore.DCMITypes.- Parameters:
type
- the Dublin Core type to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCFormat
Set the Dublin Core format.- Parameters:
format
- the Dublin Core format to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCIdentifier
Set the Dublin Core identifier.- Parameters:
identifier
- the Dublin Core identifier to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCSource
Set the Dublin Core source.- Parameters:
source
- the Dublin Core source to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCLanguage
Set the Dublin Core language.- Parameters:
language
- the Dublin Core language to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCRelation
Set the Dublin Core relation.- Parameters:
relation
- the Dublin Core relation to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCCoverage
Set the Dublin Core coverage.- Parameters:
coverage
- the Dublin Core coverage to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCRights
Set the Dublin Core rights.- Parameters:
rights
- the Dublin Core rights to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-