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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
setDCDate(Date date)
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
setDCType(String type)
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 Detail
-
setDCTitle
void setDCTitle(String title) throws AmetysRepositoryException
Set the Dublin Core title.- Parameters:
title
- the Dublin Core title to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCCreator
void setDCCreator(String creator) throws AmetysRepositoryException
Set the Dublin Core creator.- Parameters:
creator
- the Dublin Core creator to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCSubject
void setDCSubject(String[] subject) throws AmetysRepositoryException
Set the Dublin Core subject.- Parameters:
subject
- the Dublin Core subject to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCDescription
void setDCDescription(String description) throws AmetysRepositoryException
Set the Dublin Core description.- Parameters:
description
- the Dublin Core description to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCPublisher
void setDCPublisher(String publisher) throws AmetysRepositoryException
Set the Dublin Core publisher.- Parameters:
publisher
- the Dublin Core publisher to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCContributor
void setDCContributor(String contributor) throws AmetysRepositoryException
Set the Dublin Core contributor.- Parameters:
contributor
- the Dublin Core contributor to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCDate
void setDCDate(Date date) throws AmetysRepositoryException
Set the Dublin Core date.- Parameters:
date
- the Dublin Core date to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCType
void setDCType(String type) throws AmetysRepositoryException
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
void setDCFormat(String format) throws AmetysRepositoryException
Set the Dublin Core format.- Parameters:
format
- the Dublin Core format to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCIdentifier
void setDCIdentifier(String identifier) throws AmetysRepositoryException
Set the Dublin Core identifier.- Parameters:
identifier
- the Dublin Core identifier to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCSource
void setDCSource(String source) throws AmetysRepositoryException
Set the Dublin Core source.- Parameters:
source
- the Dublin Core source to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCLanguage
void setDCLanguage(String language) throws AmetysRepositoryException
Set the Dublin Core language.- Parameters:
language
- the Dublin Core language to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCRelation
void setDCRelation(String relation) throws AmetysRepositoryException
Set the Dublin Core relation.- Parameters:
relation
- the Dublin Core relation to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCCoverage
void setDCCoverage(String coverage) throws AmetysRepositoryException
Set the Dublin Core coverage.- Parameters:
coverage
- the Dublin Core coverage to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setDCRights
void setDCRights(String rights) throws AmetysRepositoryException
Set the Dublin Core rights.- Parameters:
rights
- the Dublin Core rights to set. Can be null.- Throws:
AmetysRepositoryException
- if an error occurs.
-
-