Package org.ametys.odf.course
Class Course
- All Implemented Interfaces:
ModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,IndexableDataHolder
,ModifiableIndexableDataHolder
,CommentableContent
,CommentableAmetysObject
,Content
,ModifiableContent
,ModifiableWorkflowAwareContent
,ReactionableObject
,ReportableObject
,WorkflowAwareContent
,CDMEntity
,CDMFRTagsConstants
,CourseListContainer
,ProgramItem
,ACLAmetysObject
,AmetysObject
,CopiableAmetysObject
,DataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,DataHolder
,ModelAwareDataHolder
,ModifiableDataHolder
,ModifiableModelAwareDataHolder
,DublinCoreAwareAmetysObject
,ModifiableDublinCoreAwareAmetysObject
,JCRAmetysObject
,JCRTraversableAmetysObject
,LockableAmetysObject
,LockAwareAmetysObject
,MetadataAwareAmetysObject
,ModifiableMetadataAwareAmetysObject
,ModifiableACLAmetysObject
,ModifiableAmetysObject
,ModifiableTraversableAmetysObject
,RemovableAmetysObject
,TagAwareAmetysObject
,TaggableAmetysObject
,TraversableAmetysObject
,DataAndVersionAwareAmetysObject
,ModifiableDataAwareVersionableAmetysObject
,VersionableAmetysObject
,VersionAwareAmetysObject
,WorkflowAwareAmetysObject
public class Course
extends ModifiableDefaultContent<CourseFactory>
implements CourseListContainer, ProgramItem
Class representing a
Course
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.repository.Content
Content.ReferencingContentsSearch
Nested classes/interfaces inherited from interface org.ametys.cms.repository.ReactionableObject
ReactionableObject.ReactionType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constants for repeater 'acquiredSkills'static final String
The attribute name of the skills in acquiredSkillsstatic final String
The skill acquisition level attribute name in acquiredSkills/skillsstatic final String
The skill attribute name in acquiredSkills/skillsstatic final String
The attribute name of the skillsstatic final String
Constants for additionalInformations attributestatic final String
Constants for attribute 'bibliography'static final String
Mandatory Identifier to generate the CDM-fr idstatic final String
Name of attribute for parent course listsstatic final String
Constants for attribute 'courseParts'static final String
Constants for attribute 'contacts'static final String
Constants for attribute 'contacts/persons'static final String
Constants for attribute 'contacts/role'static final String
Constants for attribute 'courseType'static final String
Constants for description attributestatic final String
Constants for ects attributestatic final String
Constants for erasmusCode attributestatic final String
Constants for formOfAssessment attributestatic final String
Constants for teachingMethod attributestatic final String
Constants for formofteachingOrg attributestatic final String
Constants for keywords attributestatic final String
Constants for level attributestatic final String
Constants for LOM Sheet label attributestatic final String
Constants for LOM Sheet URL attributestatic final String
Constants for lomSheets attributestatic final String
Constants for maxNumberOfStudents attributestatic final String
Constants for neededPrerequisite attributestatic final String
Constants for nbHours attributestatic final String
Constants for objectives attributestatic final String
Constants for attribute 'openToExchangeStudents'static final String
Constants for orgunits attributestatic final String
Name of attribute for parent course listsstatic final String
Constants for attribute 'requiredSkills'static final String
Constants for attribute 'skills'static final String
Constants for startDate attributestatic final String
Constants for syllabus attributestatic final String
Constants for formOfTeaching attributestatic final String
Constants for teachingLanguage attributestatic final String
Constants for teachingLocation attributestatic final String
Constants for teachingTerm attributestatic final String
Constants for timeSlot attributestatic final String
Constants for trainingCourseDuration attributestatic final String
Constants for webLinkLabel attributestatic final String
Constants for webLinkUrl attributeFields inherited from class org.ametys.cms.repository.DefaultContent
ATTACHMENTS_NODE_NAME, DEFAULT_CONTENT_LOCALE, METADATA_CONTENTTYPE, METADATA_CONTRIBUTOR, METADATA_CREATION, METADATA_CREATOR, METADATA_FIRST_VALIDATION, METADATA_FIRST_VALIDATOR, METADATA_LANGUAGE, METADATA_LAST_MAJOR_VALIDATOR, METADATA_LAST_MAJORVALIDATION, METADATA_LAST_VALIDATION, METADATA_LAST_VALIDATOR, METADATA_MIXINCONTENTTYPES, METADATA_MODIFIED, METADATA_OUTGOING_REFERENCE_NODETYPE, METADATA_OUTGOING_REFERENCE_PROPERTY, METADATA_OUTGOING_REFERENCES, METADATA_OUTGOING_REFERENCES_PATH_PROPERTY, METADATA_ROOT_OUTGOING_REFERENCES
Fields inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
PROTECTED_PROPERTIES
Fields inherited from interface org.ametys.odf.cdmfr.CDMFRTagsConstants
ATTRIBUTE_ACTIVITY_PART_STRUCTURE, ATTRIBUTE_BLOCK_LANG, ATTRIBUTE_BUILDING, ATTRIBUTE_CODE_SET, ATTRIBUTE_COMPETENCE_YIELDING, ATTRIBUTE_COUNTY_CODE, ATTRIBUTE_COURSE_STRUCTURE, ATTRIBUTE_CURRENCY, ATTRIBUTE_DATE, ATTRIBUTE_DEGREE, ATTRIBUTE_DEGREE_NOT_LMD, ATTRIBUTE_DIPLOMA_TYPE, ATTRIBUTE_DURATION, ATTRIBUTE_ECTS_CREDITS, ATTRIBUTE_EQUIV, ATTRIBUTE_HOURS_PER_WEEK, ATTRIBUTE_ID, ATTRIBUTE_ID_REF, ATTRIBUTE_IDENT, ATTRIBUTE_LANGUAGE, ATTRIBUTE_LEVEL, ATTRIBUTE_LIB_SET, ATTRIBUTE_LIMITED, ATTRIBUTE_METHOD, ATTRIBUTE_NATURE, ATTRIBUTE_ORG, ATTRIBUTE_ORG_TYPE, ATTRIBUTE_ORG_UNIT_KIND_CODE_VALUESET, ATTRIBUTE_PLACES, ATTRIBUTE_PRICE, ATTRIBUTE_REF, ATTRIBUTE_ROLE, ATTRIBUTE_ROOM, ATTRIBUTE_START, ATTRIBUTE_STUDY_PACE, ATTRIBUTE_TEACHING_LANG, ATTRIBUTE_TEACHING_START, ATTRIBUTE_TEACHING_TYPE, ATTRIBUTE_TEL_TYPE, ATTRIBUTE_TERM, ATTRIBUTE_TIME, ATTRIBUTE_TIME_OF_DAY, ATTRIBUTE_TOTAL_WORK_LOAD, ATTRIBUTE_USER_DEFINED, NAMESPACE_AMETYS_CDM, NAMESPACE_CDMFR, PHONE_TYPE_HOME, PHONE_TYPE_MOBILE, PHONE_TYPE_OFFICE, TAG_ACTIVITY_PARTS, TAG_ADDRESS, TAG_ADMISSION_DESCRIPTION, TAG_ADMISSION_INFO, TAG_AFFILIATION, TAG_ALT_LANG_BLOCK, TAG_BIBLIOGRAPHY, TAG_CANCEL_DEADLINE, TAG_CDM, TAG_CDM_DATE_TIME, TAG_CDM_LOCATION, TAG_COMPETENCE_DESC, TAG_COMPETENCE_VALIDITY, TAG_CONTACT_DATA, TAG_CONTACT_NAME, TAG_CONTACTS, TAG_COUNTRY, TAG_COURSE, TAG_COURSE_CODE, TAG_COURSE_CONTENTS, TAG_COURSE_DESCRIPTION, TAG_COURSE_ID, TAG_COURSE_NAME, TAG_CREDITS, TAG_CRITERIA, TAG_DATE_FROM, TAG_DATE_TO, TAG_DEGREE, TAG_DEGREE_NAME, TAG_DIGIT_PROD_PERC, TAG_DIGIT_PROD_UNT_PERC, TAG_DIGITAL_USE, TAG_DIPLOMA, TAG_ECTS_REQUIRED, TAG_EMAIL, TAG_END, TAG_EVALUATION_DEADLINE, TAG_EXAM, TAG_EXAM_DURATION, TAG_EXAM_END, TAG_EXAM_KIND, TAG_EXAM_LOCATION, TAG_EXAM_NAME, TAG_EXAM_PARTS, TAG_EXAM_START, TAG_EXAM_STRUCTURE, TAG_EXISTS, TAG_EXPENSES, TAG_EXTADR, TAG_EXTENSION_BLOCK, TAG_FAMILY_NAME, TAG_FAX, TAG_FORM_OF_ASSESSMENT, TAG_FORM_OF_TEACHING, TAG_FORMAL_PREREQUISITES, TAG_GIVEN_NAME, TAG_GLOBAL_VOLUME, TAG_HABILITATION, TAG_HABILITATION_ID, TAG_HEADER, TAG_HREF, TAG_INFO_BLOCK, TAG_INSTRUCTION_LANGUAGE, TAG_LCMS, TAG_LEARNING_OBJECTIVES, TAG_LEVEL, TAG_LEVEL_CODE, TAG_LINK_NAME, TAG_LOCALITY, TAG_NAME, TAG_OCCURRENCE_RULE, TAG_ORDINARY_NAME, TAG_ORG_UNIT, TAG_ORG_UNIT_ACRONYM, TAG_ORG_UNIT_CODE, TAG_ORG_UNIT_DESCRIPTION, TAG_ORG_UNIT_ID, TAG_ORG_UNIT_KIND, TAG_ORG_UNIT_NAME, TAG_OVERLAP, TAG_PART_STRUCTURE, TAG_PCODE, TAG_PERC_OF_USE, TAG_PERCENTAGE, TAG_PERSON, TAG_PERSON_ID, TAG_PHONE, TAG_PLACE, TAG_POBOX, TAG_PPAL_TEACHING_LANGUAGE, TAG_PROD_PEDA, TAG_PROFESS_FIELD, TAG_PROFESSION, TAG_PROFESSIONAL_DIPLOMA, TAG_PROGRAM, TAG_PROGRAM_CODE, TAG_PROGRAM_DESCRIPTION, TAG_PROGRAM_DURATION, TAG_PROGRAM_ID, TAG_PROGRAM_NAME, TAG_PROGRAM_STRUCTURE, TAG_QUALIFICATION, TAG_QUALIFICATION_DESCRIPTION, TAG_QUALIFICATION_NAME, TAG_RECOMMANDED_PREREQUISITES, TAG_REF_COURSE, TAG_REF_ORG_UNIT, TAG_REF_PERSON, TAG_REF_PROGRAM, TAG_REGION, TAG_REGISTRATION_DEADLINE, TAG_REGISTRATION_DETAIL, TAG_REGISTRATION_MODALITIES, TAG_REGISTRATION_PROCESS, TAG_REGISTRATION_START, TAG_REGULATIONS, TAG_REOCCURRING_EVENTS, TAG_RESOURCE_MGT, TAG_ROLE, TAG_ROME_DATA, TAG_SEARCH_WORD, TAG_SECT_CNU, TAG_SINGLE_EVENT, TAG_START, TAG_STATISTICS, TAG_STREET, TAG_STUDENT_FACILITIES, TAG_STUDENT_PLACES, TAG_STUDENT_STATUS, TAG_STUDY_ABROAD, TAG_STUDY_FIELD, TAG_STUDY_QUALIFICATION, TAG_SUB_BLOCK, TAG_SUB_PROGRAM, TAG_SYLLABUS, TAG_TARGET_GROUP, TAG_TEACHING_ACTIVITY, TAG_TEACHING_ACTIVITY_ID, TAG_TEACHING_ACTIVITY_NAME, TAG_TEACHING_ACTIVITY_STRUCTURE, TAG_TEACHING_PLACE, TAG_TEACHING_START, TAG_TEACHING_TERM, TAG_TEXT, TAG_TIME_FROM, TAG_TIME_OF_DAY, TAG_TIME_TO, TAG_TIMETABLE_ELEMENT, TAG_TITLE, TAG_UNIVERSAL_ADJUSTMENT, TAG_WEB_LINK, VALUE_A_CHOIX, VALUE_APPRENTICESHIP, VALUE_AREA, VALUE_AS_DEGREE, VALUE_ASSOCIATED_LABORITORIES, VALUE_ASSOCIATED_SCHOOLS, VALUE_CITE97, VALUE_COMPLEMENTARY_INFORMATIONS, VALUE_COMPONENT, VALUE_CONTINUE, VALUE_COURSE_STRUCTURE, VALUE_DEGREE, VALUE_DES, VALUE_DIP, VALUE_DISTANCE, VALUE_DOWNLOADING, VALUE_DUREE, VALUE_EC, VALUE_EDUCATION_TYPE, VALUE_ERASMUS, VALUE_FACULTATIVE, VALUE_FINALITE, VALUE_FORMCONTNONDIP, VALUE_FR_FR, VALUE_FRENCHLANGUAGE, VALUE_INIT, VALUE_INTERNATIONAL, VALUE_INTERNSHIP, VALUE_KNOWLEDGES, VALUE_KNOWMORELINK, VALUE_MENTION, VALUE_OBJECTIVES, VALUE_OBLIGATOIRE, VALUE_ORG_UNIT_PARENT, VALUE_PRESENCE, VALUE_PRESENTATION, VALUE_PRO, VALUE_PROFESSIONAL, VALUE_PROFESSIONAL_OBJECTIVES, VALUE_PURSUING, VALUE_RNCP, VALUE_SCHOOLPATH, VALUE_SISE, VALUE_SPECIALITY, VALUE_STAGE, VALUE_SUBPROG_TYPE, VALUE_TYPE, VALUE_UE, VALUE_UECONTAINER, VALUE_UEGROUP, VALUE_UNIVERSITY, VALUE_UNRLR, VALUE_VOLUME_HORAIRE, VALUE_VOLUME_HORAIRE_COURS, VALUE_VOLUME_HORAIRE_TD, VALUE_VOLUME_HORAIRE_TP
Fields inherited from interface org.ametys.cms.repository.Content
ATTRIBUTE_TITLE, METADATA_TITLE
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
Fields inherited from interface org.ametys.odf.ProgramItem
CATALOG, CODE, EDUCATIONAL_BOOKLETS, PROGRAM_ITEM_CONTENT_TYPE
-
Constructor Summary
ConstructorDescriptionCourse
(javax.jcr.Node node, String parentPath, CourseFactory factory) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsCourseList
(String clId) Determines if thisCourseListContainer
contains the given course list as childGet the additional informationGet the bibliographyGet the catalog of this contentGet the CDM code.getCDMId()
Returns the CDM id.getCode()
Get the CDM-fr of theProgramItem
Return the list of Persons in charge binded to this programReturn the list of Persons in charge binded to this programGet the parent path.Returns the child course listsGet the course parts.Get the course type (nature)Get the descriptiondouble
getEcts()
Get the ECTSGet the Erasmus codeGet the formOfAssessment attributeGet the teaching methodString[]
Get the teaching organizationsString[]
Get the keywordsgetLevel()
Get the levelReturn the id of local orgunit contents binded to this courseGet the list of LOM sheetsGet the effectivesGet the needed prerequisitesdouble
Get the number of hoursGet the objectivesReturn the id of orgunit content binded to this courseGet the parent course listsReturn the id of remote orgunit contents binded to this courseString[]
Get the required skillsReturns the programs holding this program partGet the skillsGet the start dateGet the syllabusGet the teaching activityString[]
Get the teaching languageString[]
Get the teaching locationGet the teaching termGet the time slotGet the web link labelGet the web link URLboolean
Determines if thisCourseListContainer
contains child course listboolean
hasLOMSheet
(LOMSheet lomSheet) Determines if the course has LOM sheetboolean
Is open to exchange studentsvoid
setCatalog
(String catalog) Set the catalogvoid
setCdmCode
(String cdmCode) Set the CDM code.void
Set the CDM-fr codevoid
setContextPath
(String path) Set the parent path for links and breadcrumbvoid
setLOMSheets
(Set<LOMSheet> sheets) Set the LOM sheetsvoid
setTeachingLocation
(String[] teachingLocation) Set the teaching locationMethods inherited from class org.ametys.cms.repository.ModifiableDefaultContent
createComment, createComment, fillContent, getComment, getComments, getCurrentStepId, getDataHolder, getLockOwner, getProposalDate, getWorkflowId, isLocked, lock, remove, setCreationDate, setCreator, setCurrentStepId, setDCContributor, setDCCoverage, setDCCreator, setDCDate, setDCDescription, setDCFormat, setDCIdentifier, setDCLanguage, setDCPublisher, setDCRelation, setDCRights, setDCSource, setDCSubject, setDCTitle, setDCType, setFirstValidationDate, setFirstValidator, setLastContributor, setLastMajorValidationDate, setLastMajorValidator, setLastModified, setLastValidationDate, setLastValidator, setOutgoingReferences, setProposalDate, setTitle, setTitle, setWorkflowId, tag, unlock, untag
Methods inherited from class org.ametys.cms.repository.DefaultContent
addReaction, addReport, clearReports, copyTo, copyTo, copyTo, copyTo, createChild, getChild, getChildren, getCreationDate, getCreator, getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType, getFirstValidationDate, getFirstValidator, getInternalDataHolder, getLanguage, getLastContributor, getLastMajorValidationDate, getLastMajorValidator, getLastModified, getLastValidationDate, getLastValidator, getMixinTypes, getOutgoingReferences, getReactionUsers, getReferencingContents, getReportsCount, getRootAttachments, getSystemPropertyExtensionPoint, getTags, getTitle, getTitle, getTypes, hasChild, hasReferencingContents, removeReaction, searchReferencingContents, setLanguage, setMixinTypes, setReportsCount, setType, setTypes, toSAX
Methods inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, addLabel, checkpoint, copyNode, disallowInheritance, getAllLabels, getAllRevisions, getBaseNode, getBaseVersion, getLabels, getLabels, getNode, getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, getRevision, getRevisionTimestamp, getRevisionTimestamp, getUnversionedDataHolder, getVersionHistory, isInheritanceDisallowed, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers, removeLabel, restoreFromLabel, restoreFromNode, restoreFromRevision, switchToLabel, switchToRevision
Methods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getParent, getParentPath, getPath, needsSave, rename, revertChanges, saveChanges
Methods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ametys.plugins.repository.ACLAmetysObject
getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, isInheritanceDisallowed
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.odf.cdmfr.CDMEntity
getLanguage
Methods inherited from interface org.ametys.cms.repository.Content
getCreationDate, getCreator, getFirstValidationDate, getFirstValidator, getInternalDataHolder, getLanguage, getLastContributor, getLastMajorValidationDate, getLastMajorValidator, getLastModified, getLastValidationDate, getLastValidator, getMixinTypes, getOutgoingReferences, getReferencingContents, getRootAttachments, getTitle, getTitle, getTypes, hasReferencingContents, searchReferencingContents, setLanguage, setMixinTypes, setType, setTypes, toSAX
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
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.jcr.JCRAmetysObject
getNode
Methods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getComposite, getExternalComposite, getExternalRepeater, getLocalComposite, getLocalRepeater, getParentDataHolder, getRepeater, getRootDataHolder, getSystemPropertyExtensionPoint, indexData, indexData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultiple
Methods inherited from interface org.ametys.plugins.repository.ModifiableACLAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, disallowInheritance, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolder
Methods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolder
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
Methods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTags
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChildAt, getChildPosition
-
Field Details
-
PARENT_COURSE_LISTS
Name of attribute for parent course lists- See Also:
-
CHILD_COURSE_LISTS
Name of attribute for parent course lists- See Also:
-
CDM_CODE
Mandatory Identifier to generate the CDM-fr id- See Also:
-
ECTS
Constants for ects attribute- See Also:
-
LEVEL
Constants for level attribute- See Also:
-
DESCRIPTION
Constants for description attribute- See Also:
-
OBJECTIVES
Constants for objectives attribute- See Also:
-
NUMBER_OF_HOURS
Constants for nbHours attribute- See Also:
-
NEEDED_PREREQUISITE
Constants for neededPrerequisite attribute- See Also:
-
FORM_OF_ASSESSMENT
Constants for formOfAssessment attribute- See Also:
-
REQUIRED_SKILLS
Constants for attribute 'requiredSkills'- See Also:
-
ACQUIRED_SKILLS
Constants for repeater 'acquiredSkills'- See Also:
-
ACQUIRED_SKILLS_SKILLSET
The attribute name of the skills- See Also:
-
ACQUIRED_SKILLS_SKILLS
The attribute name of the skills in acquiredSkills- See Also:
-
ACQUIRED_SKILLS_SKILLS_SKILL
The skill attribute name in acquiredSkills/skills- See Also:
-
ACQUIRED_SKILLS_SKILLS_ACQUISITION_LEVEL
The skill acquisition level attribute name in acquiredSkills/skills- See Also:
-
SYLLABUS
Constants for syllabus attribute- See Also:
-
ADDITIONAL_INFORMATIONS
Constants for additionalInformations attribute- See Also:
-
ERASMUS_CODE
Constants for erasmusCode attribute- See Also:
-
TEACHING_LOCATION
Constants for teachingLocation attribute- See Also:
-
MAX_NUMBER_OF_STUDENTS
Constants for maxNumberOfStudents attribute- See Also:
-
TEACHING_TERM
Constants for teachingTerm attribute- See Also:
-
TIME_SLOT
Constants for timeSlot attribute- See Also:
-
TRAINING_COURSE_DURATION
Constants for trainingCourseDuration attribute- See Also:
-
FORMODFTEACHING_METHOD
Constants for teachingMethod attribute- See Also:
-
FORMOFTEACHING_ORG
Constants for formofteachingOrg attribute- See Also:
-
TEACHING_ACTIVITY
Constants for formOfTeaching attribute- See Also:
-
TEACHING_LANGUAGE
Constants for teachingLanguage attribute- See Also:
-
START_DATE
Constants for startDate attribute- See Also:
-
KEYWORDS
Constants for keywords attribute- See Also:
-
WEB_LINK_LABEL
Constants for webLinkLabel attribute- See Also:
-
WEB_LINK_URL
Constants for webLinkUrl attribute- See Also:
-
LOM_SHEETS
Constants for lomSheets attribute- See Also:
-
LOM_SHEET_URL
Constants for LOM Sheet URL attribute- See Also:
-
LOM_SHEET_LABEL
Constants for LOM Sheet label attribute- See Also:
-
ORG_UNITS
Constants for orgunits attribute- See Also:
-
CONTACTS
Constants for attribute 'contacts'- See Also:
-
CONTACTS_ROLE
Constants for attribute 'contacts/role'- See Also:
-
CONTACTS_PERSONS
Constants for attribute 'contacts/persons'- See Also:
-
COURSE_TYPE
Constants for attribute 'courseType'- See Also:
-
BIBLIOGRAPHY
Constants for attribute 'bibliography'- See Also:
-
SKILLS
Constants for attribute 'skills'- See Also:
-
OPEN_TO_EXCHANGE_STUDENTS
Constants for attribute 'openToExchangeStudents'- See Also:
-
CHILD_COURSE_PARTS
Constants for attribute 'courseParts'- See Also:
-
-
Constructor Details
-
Course
Constructor.- Parameters:
node
- the JCR Node.parentPath
- the parent pathfactory
- the corresponding factory.
-
-
Method Details
-
getCourseLists
Description copied from interface:CourseListContainer
Returns the child course lists- Specified by:
getCourseLists
in interfaceCourseListContainer
- Returns:
- the child course lists
-
getParentCourseLists
Get the parent course lists- Returns:
- The parent course lists
-
hasCourseLists
Description copied from interface:CourseListContainer
Determines if thisCourseListContainer
contains child course list- Specified by:
hasCourseLists
in interfaceCourseListContainer
- Returns:
- true if this
CourseListContainer
contains at least a child course list
-
containsCourseList
Description copied from interface:CourseListContainer
Determines if thisCourseListContainer
contains the given course list as child- Specified by:
containsCourseList
in interfaceCourseListContainer
- Parameters:
clId
- id of theCourseList
to test- Returns:
- true if the course list is part of this
CourseListContainer
-
getRootPrograms
Description copied from interface:ProgramItem
Returns the programs holding this program part- Specified by:
getRootPrograms
in interfaceProgramItem
- Returns:
- the root programs
-
getContacts
Return the list of Persons in charge binded to this program- Returns:
- the id of contacts
-
getContactsByRole
Return the list of Persons in charge binded to this program- Returns:
- a list of roles and UUID
-
setContextPath
Set the parent path for links and breadcrumb- Parameters:
path
- the parent path
-
getContextPath
Get the parent path. Can be null.- Returns:
- the parent path
-
getOrgUnits
Return the id of orgunit content binded to this course- Returns:
- The id of contents
-
getLocalOrgUnits
Return the id of local orgunit contents binded to this course- Returns:
- The id of contents
-
getRemoteOrgUnits
Return the id of remote orgunit contents binded to this course- Returns:
- The id of contents
-
getCatalog
Description copied from interface:ProgramItem
Get the catalog of this content- Specified by:
getCatalog
in interfaceProgramItem
- Returns:
- the name of catalog or null if not set
-
setCatalog
Description copied from interface:ProgramItem
Set the catalog- Specified by:
setCatalog
in interfaceProgramItem
- Parameters:
catalog
- the name of catalog to set- Throws:
AmetysRepositoryException
- if an error occurred
-
getCode
Description copied from interface:ProgramItem
Get the CDM-fr of theProgramItem
- Specified by:
getCode
in interfaceProgramItem
- Returns:
- the CDM-fr code
-
setCode
Description copied from interface:ProgramItem
Set the CDM-fr code- Specified by:
setCode
in interfaceProgramItem
- Parameters:
code
- the CDM-fr to set- Throws:
AmetysRepositoryException
- if an error occurs
-
getDescription
Get the description- Returns:
- the description or null
-
getObjectives
Get the objectives- Returns:
- objectives
-
getCourseParts
Get the course parts.- Returns:
- The
List
of attachedCoursePart
s
-
getNeededPrerequisite
Get the needed prerequisites- Returns:
- the needed prerequisites or null if not set
-
getFormOfAssessment
Get the formOfAssessment attribute- Returns:
- the formOfAssessment or null if not set
-
getSyllabus
Get the syllabus- Returns:
- the syllabus or null if not set
-
getLOMSheets
Get the list of LOM sheets- Returns:
- the list of LOMsheets or an empty list
-
setLOMSheets
Set the LOM sheets- Parameters:
sheets
- The LOM sheets
-
hasLOMSheet
Determines if the course has LOM sheet- Parameters:
lomSheet
- The LOM sheet to test- Returns:
true
if the course has LOM sheet
-
getAdditionalInformations
Get the additional information- Returns:
- the additional information
-
getErasmusCode
Get the Erasmus code- Returns:
- the Erasmus code
-
getTeachingLocation
Get the teaching location- Returns:
- the teaching location
-
setTeachingLocation
Set the teaching location- Parameters:
teachingLocation
- the teaching location to set- Throws:
AmetysRepositoryException
- if failed to set attribute
-
getEcts
Get the ECTS- Returns:
- the ECTS
-
getNumberOfHours
Get the number of hours- Returns:
- the number of hours
-
getMaxNumberOfStudents
Get the effectives- Returns:
- the effectives
- Throws:
AmetysRepositoryException
- if failed to get attribute
-
getTeachingTerm
Get the teaching term- Returns:
- the teaching term
-
getLevel
Get the level- Returns:
- the level
-
getFormOfTeachingMethod
Get the teaching method- Returns:
- the teaching method
-
getFormOfTeachingOrgs
Get the teaching organizations- Returns:
- the teaching organizations
-
getTeachingActivity
Get the teaching activity- Returns:
- the teaching activity
-
getTeachingLanguage
Get the teaching language- Returns:
- the teaching language
-
getRequiredSkills
Get the required skills- Returns:
- the required skills
-
getStartDate
Get the start date- Returns:
- the start date
-
getTimeSlot
Get the time slot- Returns:
- the time slot
-
getKeywords
Get the keywords- Returns:
- the keywords
-
getWebLinkLabel
Get the web link label- Returns:
- the web link label
-
getWebLinkUrl
Get the web link URL- Returns:
- the web link URL
-
getCourseType
Get the course type (nature)- Returns:
- the course type
-
getBibliography
Get the bibliography- Returns:
- the bibliography
-
getSkills
Get the skills- Returns:
- the skills
-
isOpenToExchangeStudents
Is open to exchange students- Returns:
true
if the course is open to exchange students
-
getCDMId
Description copied from interface:CDMEntity
Returns the CDM id. -
getCdmCode
Description copied from interface:CDMEntity
Get the CDM code. This code is not empty only if the CDM entity was imported from a CDMfr file.- Specified by:
getCdmCode
in interfaceCDMEntity
- Returns:
- the CDM code. Can be null;
-
setCdmCode
Description copied from interface:CDMEntity
Set the CDM code. This code should be setted only when the CDM entity was imported from a CDMfr file.- Specified by:
setCdmCode
in interfaceCDMEntity
- Parameters:
cdmCode
- the CDM code to set
-