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.ReferencingContentsSearchNested classes/interfaces inherited from interface org.ametys.cms.repository.ReactionableObject
ReactionableObject.ReactionType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstants for repeater 'acquiredSkills'static final StringThe attribute name of the skills in acquiredSkillsstatic final StringThe skill acquisition level attribute name in acquiredSkills/skillsstatic final StringThe skill attribute name in acquiredSkills/skillsstatic final StringThe attribute name of the skillsstatic final StringConstants for additionalInformations attributestatic final StringConstants for attribute 'bibliography'static final StringMandatory Identifier to generate the CDM-fr idstatic final StringName of attribute for parent course listsstatic final StringConstants for attribute 'courseParts'static final StringConstants for attribute 'contacts'static final StringConstants for attribute 'contacts/persons'static final StringConstants for attribute 'contacts/role'static final StringConstants for attribute 'courseType'static final StringConstants for description attributestatic final StringConstants for ects attributestatic final StringConstants for erasmusCode attributestatic final StringConstants for formOfAssessment attributestatic final StringConstants for teachingMethod attributestatic final StringConstants for formofteachingOrg attributestatic final StringConstants for keywords attributestatic final StringConstants for level attributestatic final StringConstants for LOM Sheet label attributestatic final StringConstants for LOM Sheet URL attributestatic final StringConstants for lomSheets attributestatic final StringConstants for maxNumberOfStudents attributestatic final StringConstants for neededPrerequisite attributestatic final StringConstants for nbHours attributestatic final StringConstants for objectives attributestatic final StringConstants for attribute 'openToExchangeStudents'static final StringConstants for orgunits attributestatic final StringName of attribute for parent course listsstatic final StringConstants for attribute 'requiredSkills'static final StringConstants for attribute 'skills'static final StringConstants for startDate attributestatic final StringConstants for syllabus attributestatic final StringConstants for formOfTeaching attributestatic final StringConstants for teachingLanguage attributestatic final StringConstants for teachingLocation attributestatic final StringConstants for teachingTerm attributestatic final StringConstants for timeSlot attributestatic final StringConstants for trainingCourseDuration attributestatic final StringConstants for webLinkLabel attributestatic final StringConstants for webLinkUrl attributeFields inherited from class org.ametys.cms.repository.DefaultContent
_mixins, _types, 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_REFERENCESFields inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
PROTECTED_PROPERTIESFields 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_TPFields inherited from interface org.ametys.cms.repository.Content
ATTRIBUTE_TITLE, METADATA_TITLEFields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIXFields inherited from interface org.ametys.odf.ProgramItem
CATALOG, CODE, EDUCATIONAL_BOOKLETS, PROGRAM_ITEM_CONTENT_TYPE, PUBLISHABLE -
Constructor Summary
ConstructorsConstructorDescriptionCourse(javax.jcr.Node node, String parentPath, CourseFactory factory) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsCourseList(String clId) Determines if thisCourseListContainercontains 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 theProgramItemReturn 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 descriptiondoublegetEcts()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 prerequisitesdoubleGet 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 skillsGet 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 URLbooleanDetermines if thisCourseListContainercontains child course listbooleanhasLOMSheet(LOMSheet lomSheet) Determines if the course has LOM sheetbooleanIs open to exchange studentsbooleantrueif theProgramItemis publishablevoidsetCatalog(String catalog) Set the catalogvoidsetCdmCode(String cdmCode) Set the CDM code.voidSet the CDM-fr codevoidsetContextPath(String path) Set the parent path for links and breadcrumbvoidsetLOMSheets(Set<LOMSheet> sheets) Set the LOM sheetsvoidsetPublishable(boolean isPublishable) Set publishable totrueto make theProgramItempublishablevoidsetTeachingLocation(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, untagMethods 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, toSAXMethods 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, switchToRevisionMethods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getParent, getParentPath, getPath, needsSave, rename, revertChanges, saveChangesMethods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.plugins.repository.ACLAmetysObject
getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, isInheritanceDisallowedMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.odf.cdmfr.CDMEntity
getLanguageMethods 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, toSAXMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAXMethods inherited from interface org.ametys.plugins.repository.dublincore.DublinCoreAwareAmetysObject
getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCTypeMethods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNodeMethods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getComposite, getExternalComposite, getExternalRepeater, getLocalComposite, getLocalRepeater, getParentDataHolder, getRepeater, getRootDataHolder, getSystemPropertyExtensionPoint, indexData, indexDataMethods 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, hasValueOrEmptyMethods 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, isMultipleMethods 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, removeDeniedUsersMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getRepositoryDataMethods inherited from interface org.ametys.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolderMethods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolderMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValuesMethods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTagsMethods 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:CourseListContainerReturns the child course lists- Specified by:
getCourseListsin interfaceCourseListContainer- Returns:
- the child course lists
-
getParentCourseLists
Get the parent course lists- Returns:
- The parent course lists
-
hasCourseLists
Description copied from interface:CourseListContainerDetermines if thisCourseListContainercontains child course list- Specified by:
hasCourseListsin interfaceCourseListContainer- Returns:
- true if this
CourseListContainercontains at least a child course list
-
containsCourseList
Description copied from interface:CourseListContainerDetermines if thisCourseListContainercontains the given course list as child- Specified by:
containsCourseListin interfaceCourseListContainer- Parameters:
clId- id of theCourseListto test- Returns:
- true if the course list is part of this
CourseListContainer
-
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:ProgramItemGet the catalog of this content- Specified by:
getCatalogin interfaceProgramItem- Returns:
- the name of catalog or null if not set
-
setCatalog
Description copied from interface:ProgramItemSet the catalog- Specified by:
setCatalogin interfaceProgramItem- Parameters:
catalog- the name of catalog to set- Throws:
AmetysRepositoryException- if an error occurred
-
getCode
Description copied from interface:ProgramItemGet the CDM-fr of theProgramItem- Specified by:
getCodein interfaceProgramItem- Returns:
- the CDM-fr code
-
setCode
Description copied from interface:ProgramItemSet the CDM-fr code- Specified by:
setCodein interfaceProgramItem- Parameters:
code- the CDM-fr to set- Throws:
AmetysRepositoryException- if an error occurs
-
isPublishable
Description copied from interface:ProgramItemtrueif theProgramItemis publishable- Specified by:
isPublishablein interfaceProgramItem- Returns:
trueif theProgramItemis publishable
-
setPublishable
Description copied from interface:ProgramItemSet publishable totrueto make theProgramItempublishable- Specified by:
setPublishablein interfaceProgramItem- Parameters:
isPublishable-trueto make theProgramItempublishable
-
getDescription
Get the description- Returns:
- the description or null
-
getObjectives
Get the objectives- Returns:
- objectives
-
getCourseParts
Get the course parts.- Returns:
- The
Listof attachedCourseParts
-
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:
trueif 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:
trueif the course is open to exchange students
-
getCDMId
Description copied from interface:CDMEntityReturns the CDM id. -
getCdmCode
Description copied from interface:CDMEntityGet the CDM code. This code is not empty only if the CDM entity was imported from a CDMfr file.- Specified by:
getCdmCodein interfaceCDMEntity- Returns:
- the CDM code. Can be null;
-
setCdmCode
Description copied from interface:CDMEntitySet the CDM code. This code should be setted only when the CDM entity was imported from a CDMfr file.- Specified by:
setCdmCodein interfaceCDMEntity- Parameters:
cdmCode- the CDM code to set
-