public class Course extends ModifiableDefaultContent<CourseFactory> implements CourseListContainer, ProgramItem
Course
ReactionableObject.ReactionType
Modifier and Type | Field and Description |
---|---|
private String |
_contextPath |
static String |
METADATA_ADDITIONAL_INFORMATIONS
Constants for additionalInformations Metadata*
|
static String |
METADATA_BIBLIOGRAPHY
Constants for metadata 'bibliography'
|
static String |
METADATA_CDM_CODE
Mandatory Identifier to generate the CDM-fr id
|
static String |
METADATA_CHILD_COURSE_LISTS
Name of metadata for parent course lists
|
static String |
METADATA_CHILD_COURSE_PARTS
Constants for metadata 'courseParts'
|
static String |
METADATA_CONTACTS
Constants for metadata 'contact'
|
static String |
METADATA_COURSE_TYPE
Constants for metadata 'courseType'
|
static String |
METADATA_DESCRIPTION
Constants for description Metadata*
|
static String |
METADATA_ECTS
Constants for ects Metadata*
|
static String |
METADATA_ERASMUS_CODE
Constants for erasmusCode Metadata*
|
static String |
METADATA_FORM_OF_ASSESSMENT
Constants for formOfAssessment Metadata*
|
static String |
METADATA_FORMODFTEACHING_METHOD
Constants for teachingMethod Metadata*
|
static String |
METADATA_FORMOFTEACHING_ORG
Constants for formofteachingOrg Metadata*
|
static String |
METADATA_KEYWORDS
Constants for keywords Metadata*
|
static String |
METADATA_LEVEL
Constants for level Metadata*
|
static String |
METADATA_LOM_SHEET_LABEL
Constants for LOM Sheet label metadata
|
static String |
METADATA_LOM_SHEET_URL
Constants for LOM Sheet URL metadata
|
static String |
METADATA_LOM_SHEETS
Constants for lomSheets Metadata
|
static String |
METADATA_MAX_NUMBER_OF_STUDENTS
Constants for maxNumberOfStudents Metadata*
|
static String |
METADATA_NEEDED_PREREQUISITE
Constants for neededPrerequisite Metadata*
|
static String |
METADATA_NUMBER_OF_HOURS
Constants for nbHours Metadata*
|
static String |
METADATA_OBJECTIVES
Constants for objectives Metadata*
|
static String |
METADATA_OPEN_TO_EXCHANGE_STUDENTS
Constants for metadata 'openToExchangeStudents'
|
static String |
METADATA_ORG_UNITS
Constants for contentType Metadata*
|
static String |
METADATA_PARENT_COURSE_LISTS
Name of metadata for parent course lists
|
static String |
METADATA_PERSONS_IN_CHARGE
Constants for metadata 'personInCharge'
|
static String |
METADATA_SKILLS
Constants for metadata 'skills'
|
static String |
METADATA_START_DATE
Constants for startDate Metadata*
|
static String |
METADATA_SYLLABUS
Constants for syllabus Metadata*
|
static String |
METADATA_TEACHING_ACTIVITY
Constants for formOfTeaching Metadata*
|
static String |
METADATA_TEACHING_LANGUAGE
Constants for teachingLanguage Metadata*
|
static String |
METADATA_TEACHING_LOCATION
Constants for teachingLocation Metadata*
|
static String |
METADATA_TEACHING_TERM
Constants for teachingTerm Metadata*
|
static String |
METADATA_TIME_SLOT
Constants for timeSlot Metadata*
|
static String |
METADATA_TRAINING_COURSE_DURATION
Constants for trainingCourseDuration Metadata*
|
static String |
METADATA_WEB_LINK_LABEL
Constants for webLinkLabel Metadata*
|
static String |
METADATA_WEB_LINK_URL
Constants for webLinkUrl Metadata*
|
ATTACHMENTS_NODE_NAME, DEFAULT_CONTENT_LOCALE, METADATA_CONTENTTYPE, METADATA_CONTRIBUTOR, METADATA_CREATION, METADATA_CREATOR, METADATA_FIRST_VALIDATION, METADATA_LANGUAGE, METADATA_LAST_MAJORVALIDATION, METADATA_LAST_VALIDATION, METADATA_MIXINCONTENTTYPES, METADATA_MODIFIED, METADATA_OUTGOING_REFERENCE_NODETYPE, METADATA_OUTGOING_REFERENCE_PROPERTY, METADATA_OUTGOING_REFERENCES, METADATA_OUTGOING_REFERENCES_PATH_PROPERTY, METADATA_ROOT_OUTGOING_REFERENCES
PROTECTED_PROPERTIES
METADATA_CATALOG, METADATA_CODE, PROGRAM_ITEM_CONTENT_TYPE
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
ATTRIBUTE_TITLE, METADATA_TITLE
Constructor and Description |
---|
Course(Node node,
String parentPath,
CourseFactory factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addOrgUnit(String orgUnitId)
Add a orgunit to the referenced orgunits
|
boolean |
containsCourseList(String clId)
Determines if this
CourseListContainer contains the given course list as child |
RichText |
getAdditionalInformations()
Get the additional information
|
RichText |
getBibliography()
Get the bibliography
|
String |
getCatalog()
Get the catalog of this content
|
String |
getCdmCode()
Get the CDM code.
|
String |
getCDMId()
Returns the CDM id.
|
String |
getCode()
Get the CDM-fr of the
ProgramItem |
List<String> |
getContacts()
Return the ids of "contact" contents binded to this course
|
String |
getContextPath()
Get the parent path.
|
List<CourseList> |
getCourseLists()
Returns the child course lists
|
List<CoursePart> |
getCourseParts()
Get the course parts.
|
String |
getCourseType()
Get the course type (nature)
|
RichText |
getDescription()
Get the description
|
double |
getEcts()
Get the ECTS
|
String |
getErasmusCode()
Get the Erasmus code
|
RichText |
getFormOfAssessment()
Get the formOfAssessment metadata
|
String |
getFormOfTeachingMethod()
Get the teaching method
|
String[] |
getFormOfTeachingOrgs()
Get the teaching organizations
|
String[] |
getKeywords()
Get the keywords
|
String |
getLevel()
Get the level
|
List<String> |
getLocalOrgUnits()
Return the id of local orgunit contents binded to this course
|
Set<LOMSheet> |
getLOMSheets()
Get the list of LOM sheets
|
String |
getMaxNumberOfStudents()
Get the effectives
|
RichText |
getNeededPrerequisite()
Get the needed prerequisites
|
double |
getNumberOfHours()
Get the number of hours
|
RichText |
getObjectives()
Get the objectives
|
List<String> |
getOrgUnits()
Return the id of orgunit content binded to this course
|
List<CourseList> |
getParentCourseLists()
Get the parent course lists
|
List<String> |
getPersonsInCharge()
Return the ids of "person in charge" contents binded to this course
|
List<String> |
getRemoteOrgUnits()
Return the id of remote orgunit contents binded to this course
|
Set<Program> |
getRootPrograms()
Returns the programs holding this program part
|
RichText |
getSkills()
Get the skills
|
Date |
getStartDate()
Get the start date
|
RichText |
getSyllabus()
Get the syllabus
|
String |
getTeachingActivity()
Get the teaching activity
|
String[] |
getTeachingLanguage()
Get the teaching language
|
String[] |
getTeachingLocation()
Get the teaching location
|
String |
getTeachingTerm()
Get the teaching term
|
String |
getTimeSlot()
Get the time slot
|
String |
getWebLinkLabel()
Get the web link label
|
String |
getWebLinkUrl()
Get the web link URL
|
boolean |
hasCourseLists()
Determines if this
CourseListContainer contains child course list |
boolean |
hasLOMSheet(LOMSheet lomSheet)
Determines if the course has LOM sheet
|
boolean |
isOpenToExchangeStudents()
Is open to exchange students
|
void |
removeOrgUnit(String orgUnitId)
Remove a orgunit from referenced orgunits
|
void |
removeReference(String metadataName,
String value)
Remove reference from local and remote metadata
|
void |
setCatalog(String catalog)
Set the catalog
|
void |
setCdmCode(String cdmCode)
Set the CDM code.
|
void |
setCode(String code)
Set the CDM-fr code
|
void |
setContextPath(String path)
Set the parent path for links and breadcrumb
|
void |
setLOMSheets(Set<LOMSheet> sheets)
Set the LOM sheets
|
void |
setTeachingLocation(String[] teachingLocation)
Set the teaching location
|
createComment, 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, setLanguage, setLastContributor, setLastMajorValidationDate, setLastModified, setLastValidationDate, setMixinTypes, setOutgoingReferences, setProposalDate, setTitle, setTitle, setTypes, setWorkflowId, tag, unlock, untag
addReaction, copyTo, copyTo, copyTo, copyTo, copyTo, createChild, getChild, getChildren, getCreationDate, getCreator, getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType, getDefinition, getFirstValidationDate, getLanguage, getLastContributor, getLastMajorValidationDate, getLastModified, getLastValidationDate, getMixinTypes, getModels, getOutgoingReferences, getReactionUsers, getReferencingContents, getRootAttachments, getTags, getTitle, getTitle, getTypes, hasChild, hasReferencingContents, removeReaction
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, addLabel, checkpoint, copyNode, getAllLabels, getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getAllRevisions, getBaseNode, getBaseVersion, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, getLabels, getLabels, getNode, getRevision, getRevisionTimestamp, getRevisionTimestamp, getUnversionedMetadataHolder, getVersionHistory, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers, removeLabel, restoreFromLabel, restoreFromNode, restoreFromRevision, switchToLabel, switchToRevision
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getParent, getParentPath, getPath, needsSave, rename, revertChanges, saveChanges
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLanguage
equals, getId, getName, getParent, getParentPath, getPath, hashCode
getComposite, getComposite, getRepeater, getRepeater, removeValue, setValue
getCreationDate, getCreator, getDefinition, getFirstValidationDate, getLanguage, getLastContributor, getLastMajorValidationDate, getLastModified, getLastValidationDate, getMixinTypes, getOutgoingReferences, getReferencingContents, getRootAttachments, getTitle, getTitle, getTypes, hasReferencingContents
getType, getValue, getValue, hasValue, isMultiple
copyTo, getDataNames
toSAX, toSAX
dataToSAX, dataToSAX, dataToSAX, dataToSAX
getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType
getTags
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers
getNode
needsSave, rename, revertChanges, saveChanges
getChildAt, getChildPosition
public static final String METADATA_PARENT_COURSE_LISTS
public static final String METADATA_CHILD_COURSE_LISTS
public static final String METADATA_CDM_CODE
public static final String METADATA_ECTS
public static final String METADATA_LEVEL
public static final String METADATA_DESCRIPTION
public static final String METADATA_OBJECTIVES
public static final String METADATA_NUMBER_OF_HOURS
public static final String METADATA_NEEDED_PREREQUISITE
public static final String METADATA_FORM_OF_ASSESSMENT
public static final String METADATA_SYLLABUS
public static final String METADATA_ADDITIONAL_INFORMATIONS
public static final String METADATA_ERASMUS_CODE
public static final String METADATA_TEACHING_LOCATION
public static final String METADATA_MAX_NUMBER_OF_STUDENTS
public static final String METADATA_TEACHING_TERM
public static final String METADATA_TIME_SLOT
public static final String METADATA_TRAINING_COURSE_DURATION
public static final String METADATA_FORMODFTEACHING_METHOD
public static final String METADATA_FORMOFTEACHING_ORG
public static final String METADATA_TEACHING_ACTIVITY
public static final String METADATA_TEACHING_LANGUAGE
public static final String METADATA_START_DATE
public static final String METADATA_KEYWORDS
public static final String METADATA_WEB_LINK_LABEL
public static final String METADATA_WEB_LINK_URL
public static final String METADATA_LOM_SHEETS
public static final String METADATA_LOM_SHEET_URL
public static final String METADATA_LOM_SHEET_LABEL
public static final String METADATA_ORG_UNITS
public static final String METADATA_PERSONS_IN_CHARGE
public static final String METADATA_CONTACTS
public static final String METADATA_COURSE_TYPE
public static final String METADATA_BIBLIOGRAPHY
public static final String METADATA_SKILLS
public static final String METADATA_OPEN_TO_EXCHANGE_STUDENTS
public static final String METADATA_CHILD_COURSE_PARTS
private String _contextPath
public Course(Node node, String parentPath, CourseFactory factory)
node
- the JCR Node.parentPath
- the parent pathfactory
- the corresponding factory.public List<CourseList> getCourseLists()
CourseListContainer
getCourseLists
in interface CourseListContainer
public List<CourseList> getParentCourseLists()
public boolean hasCourseLists()
CourseListContainer
CourseListContainer
contains child course listhasCourseLists
in interface CourseListContainer
CourseListContainer
contains at least a child course listpublic boolean containsCourseList(String clId)
CourseListContainer
CourseListContainer
contains the given course list as childcontainsCourseList
in interface CourseListContainer
clId
- id of the CourseList
to testCourseListContainer
public Set<Program> getRootPrograms()
ProgramItem
getRootPrograms
in interface ProgramItem
public void removeReference(String metadataName, String value)
metadataName
- The metadata namevalue
- The value of reference to removepublic List<String> getPersonsInCharge()
public List<String> getContacts()
public void setContextPath(String path)
path
- the parent pathpublic String getContextPath()
public List<String> getOrgUnits()
public void addOrgUnit(String orgUnitId)
orgUnitId
- the id of orgunit contentpublic void removeOrgUnit(String orgUnitId) throws AmetysRepositoryException
orgUnitId
- the id of orgunit contentAmetysRepositoryException
- if failed to remove orgunitpublic List<String> getLocalOrgUnits()
public List<String> getRemoteOrgUnits()
public String getCatalog()
ProgramItem
getCatalog
in interface ProgramItem
public void setCatalog(String catalog) throws AmetysRepositoryException
ProgramItem
setCatalog
in interface ProgramItem
catalog
- the name of catalog to setAmetysRepositoryException
- if an error occurredpublic String getCode()
ProgramItem
ProgramItem
getCode
in interface ProgramItem
public void setCode(String code) throws AmetysRepositoryException
ProgramItem
setCode
in interface ProgramItem
code
- the CDM-fr to setAmetysRepositoryException
- if an error occurspublic RichText getDescription()
public RichText getObjectives()
public List<CoursePart> getCourseParts()
List
of attached CoursePart
spublic RichText getNeededPrerequisite()
public RichText getFormOfAssessment()
public RichText getSyllabus()
public Set<LOMSheet> getLOMSheets()
public void setLOMSheets(Set<LOMSheet> sheets)
sheets
- The LOM sheetspublic boolean hasLOMSheet(LOMSheet lomSheet)
lomSheet
- The LOM sheet to testtrue
if the course has LOM sheetpublic RichText getAdditionalInformations()
public String getErasmusCode()
public String[] getTeachingLocation()
public void setTeachingLocation(String[] teachingLocation) throws AmetysRepositoryException
teachingLocation
- the teaching location to setAmetysRepositoryException
- if failed to set metadatapublic double getEcts()
public double getNumberOfHours()
public String getMaxNumberOfStudents()
AmetysRepositoryException
- if failed to get metadatapublic String getTeachingTerm()
public String getFormOfTeachingMethod()
public String[] getFormOfTeachingOrgs()
public String getTeachingActivity()
public String[] getTeachingLanguage()
public Date getStartDate()
public String getTimeSlot()
public String[] getKeywords()
public String getWebLinkLabel()
public String getWebLinkUrl()
public String getCourseType()
public RichText getBibliography()
public boolean isOpenToExchangeStudents()
true
if the course is open to exchange studentspublic String getCdmCode()
CDMEntity
getCdmCode
in interface CDMEntity
public void setCdmCode(String cdmCode)
CDMEntity
setCdmCode
in interface CDMEntity
cdmCode
- the CDM code to set