Package org.ametys.odf.program
Class AbstractProgram<F extends ProgramFactory>
- java.lang.Object
-
- org.ametys.plugins.repository.AbstractAmetysObject
-
- org.ametys.plugins.repository.jcr.SimpleAmetysObject<F>
-
- org.ametys.plugins.repository.jcr.DefaultAmetysObject<F>
-
- org.ametys.cms.repository.DefaultContent<F>
-
- org.ametys.cms.repository.ModifiableDefaultContent<F>
-
- org.ametys.odf.program.AbstractProgramPart<F>
-
- org.ametys.odf.program.AbstractTraversableProgramPart<F>
-
- org.ametys.odf.program.AbstractProgram<F>
-
- Type Parameters:
F
- The actual type of the factory
- All Implemented Interfaces:
CommentableContent
,Content
,ModifiableContent
,ModifiableWorkflowAwareContent
,ReactionableObject
,ReportableObject
,TagAwareAmetysObject
,TaggableAmetysObject
,WorkflowAwareContent
,CDMEntity
,CDMFRTagsConstants
,CourseListContainer
,ProgramPart
,TraversableProgramPart
,ProgramItem
,ACLAmetysObject
,AmetysObject
,CopiableAmetysObject
,DataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,DataHolder
,ModelAwareDataHolder
,ModifiableDataHolder
,ModifiableModelAwareDataHolder
,DublinCoreAwareAmetysObject
,ModifiableDublinCoreAwareAmetysObject
,JCRAmetysObject
,JCRTraversableAmetysObject
,LockableAmetysObject
,LockAwareAmetysObject
,MetadataAwareAmetysObject
,ModifiableMetadataAwareAmetysObject
,ModifiableACLAmetysObject
,ModifiableAmetysObject
,ModifiableTraversableAmetysObject
,RemovableAmetysObject
,TraversableAmetysObject
,DataAndVersionAwareAmetysObject
,ModifiableDataAwareVersionableAmetysObject
,VersionableAmetysObject
,VersionAwareAmetysObject
,WorkflowAwareAmetysObject
- Direct Known Subclasses:
Program
,SubProgram
public abstract class AbstractProgram<F extends ProgramFactory> extends AbstractTraversableProgramPart<F> implements CourseListContainer
Abstract common superclass forProgram
andSubProgram
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.repository.ReactionableObject
ReactionableObject.ReactionType
-
-
Field Summary
Fields Modifier and Type Field Description private String
_contextPath
static String
ACCESS_CONDITION
Constants for attribute 'accessCondition'static String
ADDITIONNAL_INFORMATIONS
Constants for attribute 'additionalInformations'static String
ALREADY_IMPORTED_ATTR
already imported attributestatic String
ALTERNATION_MODALITY
Constants for attribute 'alternationModality'static String
APPRENTICESHIP_CONTRACT
Constants for attribute 'apprenticeshipContract'static String
APPRENTICESHIP_OPEN
Constants for attribute 'apprenticeshipOpen'static String
APPRENTICESHIP_PERIOD
Constants for attribute 'apprenticeshipPeriod'static String
ATTACHMENTS
Constants for attribute 'attachments'static String
ATTACHMENTS_ATTACHMENT
Constants for attribute 'attachments/attachment'static String
ATTACHMENTS_ATTACHMENT_TEXT
Constants for attribute 'attachments/attachment-text'static String
AVAILABLE_CERTIFICATION
Constants for attribute 'availableCertification'static String
CAMPUS
Constants for attribute 'campus'static String
CERTIFIED
Constants for attribute 'certified'static String
CERTIFYING
Constants for attribute 'certifying'static String
CITE97_CODE
Constants for attribute 'Cite 97'static String
CONTACTS
Constants for attribute 'contacts'static String
CONTACTS_PERSONS
Constants for attribute 'contacts/persons'static String
CONTACTS_ROLE
Constants for attribute 'contacts/role'static String
DEGREE
Constants for attribute 'degree'static String
DGESIP_CODE
Constants for attribute 'erasmusCode'static String
DISCIPLINES
Constants for attribute 'disciplines'static String
DISTANCE_LEARNING
Constants for attribute 'distanceLearning'static String
DOMAIN
Constants for attribute 'domain'static String
DURATION
Constants for attribute 'duration'static String
ECTS
Constants for attribute 'ects'static String
EDUC_LANGUAGE
Constants for attribute 'educationLanguage'static String
EDUCATION_ENTRY_LEVEL
Constants for attribute 'educationEntryLevel'static String
EDUCATION_KIND
Constants for attribute 'educationKind'static String
ERASMUS_CODE
Constants for attribute 'erasmusCode'static String
EXPECTED_RESULTS
Constants for attribute 'expectedResults'static String
EXPENSES
Constants for attribute 'expenses'static String
FAP_CODE
Constants for attribute 'fapCode'static String
FOREIGN_PLACE
Constants for attribute 'foreignPlace'static String
FORM_OF_TEACHING_ORG
Constant for attribute 'formofteachingOrg'static String
FORMACODE
Constants for attribute 'formacode'static String
FURTHER_STUDY
Constants for attribute 'furtherStudy'static String
FURTHER_STUDY_PROGRAMS
Constants for attribute 'furtherStudyPrograms'static String
GEOCODE
Constants for attribute 'geoCode'static String
INSCRIPTION
Constants for attribute 'inscription'static String
INTERNATIONAL_DIMENSION
Constants for attribute 'internationalDimension'static String
INTERNATIONAL_EDUCATION
Constants for attribute 'internationalEducation'static String
INTERNSHIP
Constants for attribute 'internship'static String
INTERNSHIP_ABROAD
Constants for attribute 'internshipAbroad'static String
INTERNSHIP_ABROAD_DURATION
Constants for attribute 'internshipAbroadDuration'static String
INTERNSHIP_DESCRIPTION
Constants for attribute 'internshipDescription'static String
INTERNSHIP_DESCRIPTION_DURATION
Constants for attribute 'internshipDescription/duration'static String
INTERNSHIP_DESCRIPTION_KIND
Constants for attribute 'internshipDescription/kind'static String
INTERNSHIP_DESCRIPTION_PERIOD
Constants for attribute 'internshipDescription/period'static String
INTERNSHIP_DESCRIPTION_TITLE
Constants for attribute 'internshipDescription/title'static String
INTERNSHIP_DURATION
Constants for attribute 'internshipDuration'static String
INTERNSHIP_OPEN
Constants for attribute 'internshipOpen'static String
JOB_OPPORTUNITIES
Constants for attribute 'jobOpportunities'static String
JOINT_ORGUNIT
Constants for attribute 'jointOrgUnit'static String
KEYWORDS
Constants for attribute 'keywords'static String
KNOWLEDGE_CHECK
Constants for attribute 'knowledgeCheck'static String
LEVEL
Constants for attribute 'educationLevel'static String
MANDATORY_ENTRY_LEVEL
Constants for attribute 'mandatoryEntryLevel'static String
MENTION
Constants for attribute 'mention'static String
NEEDED_PREREQUISITE
Constants for attribute 'neededPrerequisite'static String
NSF_CODE
Constants for attribute 'nsfCode'static String
NUMBER_OF_STUDENTS
Constants for attribute 'numberOfStudents'static String
OBJECTIVES
Constants for attribute 'objectives'static String
ORG_UNITS_REFERENCES
Constants for attribute 'orgUnits'static String
OTHER_CONTACT
Constants for attribute 'otherPartners'static String
OTHER_PARTNERS
Constants for attribute 'otherPartners'static String
PARTNER_LABORATORIES
Constants for attribute 'partnerLaboratories'static String
PARTNER_LABORATORIES_LINK_LABEL
Constants for attribute 'partnerLaboratories/linkLabel'static String
PARTNER_LABORATORIES_LINK_URL
Constants for attribute 'partnerLaboratories/linkUrl'static String
PARTNER_SCHOOLS
Constants for attribute 'partnerSchools'static String
PARTNER_SCHOOLS_LINK_LABEL
Constants for attribute 'partnerSchools/linkLabel'static String
PARTNER_SCHOOLS_LINK_URL
Constants for attribute 'partnerSchools/linkUrl'static String
PLACE
Constants for attribute 'place'static String
PRESENTATION
Constants for attribute 'presentation'static String
PROGRAM_FIELD
Constants for attribute 'programField'static String
PROGRAM_WEBSITE
Constants for attribute 'programWebSite'static String
PROGRAM_WEBSITE_LABEL
Constants for attribute 'programWebSiteLabel'static String
PROGRAM_WEBSITE_URL
Constants for attribute 'programWebSiteUrl'static String
QUALIFICATION
Constants for attribute 'qualification'static String
RECOMMENDED_PREREQUISITE
Constants for attribute 'recommendedPrerequisite'static String
REGISTRATION_DEADLINE
Constants for attribute 'registrationDeadline'static String
REGISTRATION_START
Constants for attribute 'registrationStart'static String
REORIENTATION
Constants for attribute 'reorientation'static String
REQUIRED_SKILLS
Constants for attribute 'requiredSkills'static String
RNCP_CODE
Constants for attribute 'rncpCode'static String
RNCP_LEVEL
Constants for attribute 'rncpLevel'static String
ROME_CODE
Constants for attribute 'romeCode'static String
SECTORS
Constants for attribute 'sectors'static String
SHARED_WITH
Constants for attribute 'sharedWith' (for shared program in a co-accredited mention only)static String
SISE_CODE
Constants for attribute 'siseCode'static String
SPECIALITY
Constants for attribute 'speciality'static String
STUDY_ABROAD
Constants for attribute 'studyAbroad'static String
SUCCESSRATE
Constants for attribute 'successRate'static String
TARGET_GROUP
Constants for attribute 'targetGroup'static String
TEACHING_ORGANIZATION
Constants for attribute 'teachingOrganization'static String
TEACHING_START
Constants for attribute 'teachingStart'static String
TRAINING_STRATEGY
Constants for attribute 'trainingStrategy'static String
UNIVERSAL_ADJUSTMENT
Constants for attribute 'universalAdjustment'-
Fields 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_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
-
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, STATUS_SUFFIX
-
Fields inherited from interface org.ametys.odf.ProgramItem
CATALOG, CODE, PROGRAM_ITEM_CONTENT_TYPE
-
Fields inherited from interface org.ametys.odf.program.ProgramPart
PARENT_PROGRAM_PARTS
-
Fields inherited from interface org.ametys.odf.program.TraversableProgramPart
CHILD_PROGRAM_PARTS
-
-
Constructor Summary
Constructors Constructor Description AbstractProgram(Node node, String parentPath, F factory)
Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addOrgUnit(String orgUnitId)
Bind a orgUnit element to this programboolean
containsCourseList(String clId)
Determines if thisCourseListContainer
contains the given course list as childString
getAbroadInternshipDuration()
Get the internship abroad durationRichText
getAccessCondition()
Get the access conditionsRichText
getAdditionalInformations()
Get the additional informationsRichText
getAlternationModality()
Get the alternation modalityString[]
getApprenticeshipContract()
Get the available apprenticeship contractsRichText
getApprenticeshipPeriod()
Get the apprenticeship period descriptionString[]
getAvailableCertification()
Get the available certificationsString[]
getCampus()
Get the campusabstract String
getCDMTagName()
Returns the surrounding tag name in the CDM-fr representation.protected String
getCDMType()
Get the type of thisProgramPart
in CDM.String[]
getCite97Code()
Get the CITE97 codeSet<String>
getContacts()
Return the list of Persons in charge binded to this programMap<String,List<String>>
getContactsByRole()
Return the list of Persons in charge binded to this programString
getContextPath()
Get the parent path.List<CourseList>
getCourseLists()
Returns the child course listsString
getDegree()
Get the degreeString[]
getDGESIPCode()
Get the DGESIP codeString[]
getDisciplines()
Get the disciplinesString
getDistanceLearning()
Get the distance learningString[]
getDomain()
Get the domainString
getDuration()
Get the durationString
getEcts()
Get the ECTS creditsString
getEducationKind()
Get the kind of educationString[]
getEducationLanguage()
Get the education languagesString
getEducationLevel()
Get the education levelString[]
getEducationLevelEntry()
Get the education level entryRichText
getEffectives()
Get the effectivesString[]
getErasmusCode()
Get the Erasmus codeRichText
getExpectedResults()
Get the education expected resultsRichText
getExpenses()
Get the expensesString[]
getFapCode()
Get the FAP codeString[]
getForeignPlace()
Get the foreign placesString[]
getFORMACODE()
Get the FORMACODEString[]
getFormOfTeachingOrgs()
Get the form of teaching organizationRichText
getFurtherStudy()
Get the education further studyString[]
getFurtherStudyPrograms()
Get the further study programsGeocode
getGeocode()
Get the geocode latitude and longitudeRichText
getInscription()
Get the inscriptionRichText
getInternationalDimension()
Get the international dimensionString[]
getInternationalEducation()
Get the international educationString
getInternship()
Get the internshipString
getInternshipAbroad()
Get the internship abroadString
getInternshipDuration()
Get the internship durationRichText
getJobOpportunities()
Get the job opportunitiesString[]
getJointOrgUnit()
Get the org unitsString[]
getKeywords()
Get the keywordsRichText
getKnowledgeCheck()
Get acknowledgmentsString
getMention()
Get the mentionRichText
getNeededPrerequisite()
Get the education requirementsString
getNSFCode()
Get the NSF codeRichText
getObjectives()
Get the education objectivesList<String>
getOrgUnits()
Return the list of orgUnits binded to this programRichText
getOtherPartners()
Get the other partnersString[]
getPlace()
Get the placesRichText
getPresentation()
Get the education presentationString[]
getProgramField()
Get the program fieldsRichText
getQualification()
Get the education qualificationRichText
getRecommendedPrerequisite()
Get the education recommended prerequisiteLocalDate
getRegistrationDeadline()
Get the registration deadline date.LocalDate
getRegistrationStart()
Get the registration start date.RichText
getReorientation()
Get the REORIENTATIONString[]
getRequiredSkills()
Get the required skillsString[]
getRncpCode()
Get the RNCP codeString[]
getRncpLevel()
Get the RNCP levelString[]
getRomeCode()
Get the ROME codeString[]
getSectors()
Get the sectorsString[]
getSharedWith()
Get the CDMfr codes of shared (sub)programsString[]
getSiseCode()
Get the SISE codeString
getSpeciality()
Get the specialityRichText
getStudyAbroad()
Get the education study abroardString
getSuccessRate()
Get the SuccessRateRichText
getTargetGroup()
Get the education targetRichText
getTeachingOrganization()
Get the education organizationLocalDate
getTeachingStart()
Get the teaching start date.RichText
getTrainingStrategy()
Get the training strategyRichText
getUniversalAdjustment()
Get universal adjustmentSet<WebsiteLink>
getWebsiteLinks()
Get the list of websitesboolean
hasCourseLists()
Determines if thisCourseListContainer
contains child course listboolean
isApprenticeshipOpen()
Is apprenticeship openboolean
isCertified()
Returns true if theAbstractProgram
is certifiedboolean
isCertifying()
Is certifyingboolean
isInternshipOpen()
Is intership openboolean
isMandatoryEntryLevel()
Is the entry level mandatoryvoid
remove()
Removes thisAmetysObject
from the Ametys tree.void
removeOrgUnit(String orgUnitId)
Remove a orgunit from the listvoid
removeReference(String attributeName, String value)
Remove reference from local and remote attributevoid
setContextPath(String path)
Set the parent path for links and breadcrumbvoid
setDegree(String degree)
Set the degreevoid
setDomain(String domain)
Set the domain-
Methods inherited from class org.ametys.odf.program.AbstractTraversableProgramPart
containsProgramPart, getProgramPartChildren, hasProgramPartChildren
-
Methods inherited from class org.ametys.odf.program.AbstractProgramPart
getCatalog, getCdmCode, getCDMId, getCode, getProgramPartParents, getRootPrograms, setCatalog, setCdmCode, setCode
-
Methods inherited from class org.ametys.cms.repository.ModifiableDefaultContent
createComment, createComment, getComment, getComments, getCurrentStepId, getDataHolder, getLockOwner, getProposalDate, getWorkflowId, isLocked, lock, 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
-
Methods inherited from class org.ametys.cms.repository.DefaultContent
addReaction, addReport, clearReports, 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, getFirstValidationDate, getLanguage, getLastContributor, getLastMajorValidationDate, getLastModified, getLastValidationDate, getMixinModels, getMixinTypes, getModels, getOutgoingReferences, getReactionUsers, getReferencingContents, getReportsCount, getRootAttachments, getTags, getTitle, getTitle, getTypes, hasChild, hasReferencingContents, removeReaction, setReportsCount, toSAX
-
Methods inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, addLabel, checkpoint, copyNode, disallowInheritance, getAllLabels, getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getAllRevisions, getBaseNode, getBaseVersion, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, getLabels, getLabels, getNode, 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
getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, 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
getCdmCode, getCDMId, getLanguage, setCdmCode
-
Methods inherited from interface org.ametys.cms.repository.Content
getCreationDate, getCreator, getFirstValidationDate, getLanguage, getLastContributor, getLastMajorValidationDate, getLastModified, getLastValidationDate, getMixinTypes, getOutgoingReferences, getReferencingContents, getRootAttachments, getTitle, getTitle, getTypes, hasReferencingContents, toSAX
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToSAX
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.DataHolder
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.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToSAX, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasDefinition, hasExternalValue, hasLocalValue, hasValue
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, 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.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolder
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getRepeater, getRepeater, getRepositoryData, removeExternalValue, removeLocalValue, removeValue, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableModelAwareDataHolder
synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
-
Methods inherited from interface org.ametys.odf.ProgramItem
getCatalog, getCode, getRootPrograms, setCatalog, setCode
-
Methods inherited from interface org.ametys.odf.program.ProgramPart
getProgramPartParents
-
Methods inherited from interface org.ametys.cms.repository.TagAwareAmetysObject
getTags
-
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChildAt, getChildPosition
-
-
-
-
Field Detail
-
ALREADY_IMPORTED_ATTR
public static final String ALREADY_IMPORTED_ATTR
already imported attribute- See Also:
- Constant Field Values
-
DEGREE
public static final String DEGREE
Constants for attribute 'degree'- See Also:
- Constant Field Values
-
CERTIFIED
public static final String CERTIFIED
Constants for attribute 'certified'- See Also:
- Constant Field Values
-
DOMAIN
public static final String DOMAIN
Constants for attribute 'domain'- See Also:
- Constant Field Values
-
MENTION
public static final String MENTION
Constants for attribute 'mention'- See Also:
- Constant Field Values
-
SPECIALITY
public static final String SPECIALITY
Constants for attribute 'speciality'- See Also:
- Constant Field Values
-
LEVEL
public static final String LEVEL
Constants for attribute 'educationLevel'- See Also:
- Constant Field Values
-
DURATION
public static final String DURATION
Constants for attribute 'duration'- See Also:
- Constant Field Values
-
EDUC_LANGUAGE
public static final String EDUC_LANGUAGE
Constants for attribute 'educationLanguage'- See Also:
- Constant Field Values
-
PRESENTATION
public static final String PRESENTATION
Constants for attribute 'presentation'- See Also:
- Constant Field Values
-
OBJECTIVES
public static final String OBJECTIVES
Constants for attribute 'objectives'- See Also:
- Constant Field Values
-
QUALIFICATION
public static final String QUALIFICATION
Constants for attribute 'qualification'- See Also:
- Constant Field Values
-
TEACHING_ORGANIZATION
public static final String TEACHING_ORGANIZATION
Constants for attribute 'teachingOrganization'- See Also:
- Constant Field Values
-
ALTERNATION_MODALITY
public static final String ALTERNATION_MODALITY
Constants for attribute 'alternationModality'- See Also:
- Constant Field Values
-
ACCESS_CONDITION
public static final String ACCESS_CONDITION
Constants for attribute 'accessCondition'- See Also:
- Constant Field Values
-
NEEDED_PREREQUISITE
public static final String NEEDED_PREREQUISITE
Constants for attribute 'neededPrerequisite'- See Also:
- Constant Field Values
-
RECOMMENDED_PREREQUISITE
public static final String RECOMMENDED_PREREQUISITE
Constants for attribute 'recommendedPrerequisite'- See Also:
- Constant Field Values
-
EXPECTED_RESULTS
public static final String EXPECTED_RESULTS
Constants for attribute 'expectedResults'- See Also:
- Constant Field Values
-
FURTHER_STUDY
public static final String FURTHER_STUDY
Constants for attribute 'furtherStudy'- See Also:
- Constant Field Values
-
STUDY_ABROAD
public static final String STUDY_ABROAD
Constants for attribute 'studyAbroad'- See Also:
- Constant Field Values
-
TARGET_GROUP
public static final String TARGET_GROUP
Constants for attribute 'targetGroup'- See Also:
- Constant Field Values
-
JOB_OPPORTUNITIES
public static final String JOB_OPPORTUNITIES
Constants for attribute 'jobOpportunities'- See Also:
- Constant Field Values
-
TRAINING_STRATEGY
public static final String TRAINING_STRATEGY
Constants for attribute 'trainingStrategy'- See Also:
- Constant Field Values
-
KNOWLEDGE_CHECK
public static final String KNOWLEDGE_CHECK
Constants for attribute 'knowledgeCheck'- See Also:
- Constant Field Values
-
UNIVERSAL_ADJUSTMENT
public static final String UNIVERSAL_ADJUSTMENT
Constants for attribute 'universalAdjustment'- See Also:
- Constant Field Values
-
CERTIFYING
public static final String CERTIFYING
Constants for attribute 'certifying'- See Also:
- Constant Field Values
-
EXPENSES
public static final String EXPENSES
Constants for attribute 'expenses'- See Also:
- Constant Field Values
-
ADDITIONNAL_INFORMATIONS
public static final String ADDITIONNAL_INFORMATIONS
Constants for attribute 'additionalInformations'- See Also:
- Constant Field Values
-
JOINT_ORGUNIT
public static final String JOINT_ORGUNIT
Constants for attribute 'jointOrgUnit'- See Also:
- Constant Field Values
-
PLACE
public static final String PLACE
Constants for attribute 'place'- See Also:
- Constant Field Values
-
DISTANCE_LEARNING
public static final String DISTANCE_LEARNING
Constants for attribute 'distanceLearning'- See Also:
- Constant Field Values
-
EDUCATION_KIND
public static final String EDUCATION_KIND
Constants for attribute 'educationKind'- See Also:
- Constant Field Values
-
FORM_OF_TEACHING_ORG
public static final String FORM_OF_TEACHING_ORG
Constant for attribute 'formofteachingOrg'- See Also:
- Constant Field Values
-
ECTS
public static final String ECTS
Constants for attribute 'ects'- See Also:
- Constant Field Values
-
INTERNSHIP
public static final String INTERNSHIP
Constants for attribute 'internship'- See Also:
- Constant Field Values
-
INTERNSHIP_DURATION
public static final String INTERNSHIP_DURATION
Constants for attribute 'internshipDuration'- See Also:
- Constant Field Values
-
INTERNSHIP_ABROAD
public static final String INTERNSHIP_ABROAD
Constants for attribute 'internshipAbroad'- See Also:
- Constant Field Values
-
INTERNSHIP_ABROAD_DURATION
public static final String INTERNSHIP_ABROAD_DURATION
Constants for attribute 'internshipAbroadDuration'- See Also:
- Constant Field Values
-
REGISTRATION_START
public static final String REGISTRATION_START
Constants for attribute 'registrationStart'- See Also:
- Constant Field Values
-
REGISTRATION_DEADLINE
public static final String REGISTRATION_DEADLINE
Constants for attribute 'registrationDeadline'- See Also:
- Constant Field Values
-
TEACHING_START
public static final String TEACHING_START
Constants for attribute 'teachingStart'- See Also:
- Constant Field Values
-
REQUIRED_SKILLS
public static final String REQUIRED_SKILLS
Constants for attribute 'requiredSkills'- See Also:
- Constant Field Values
-
PARTNER_SCHOOLS
public static final String PARTNER_SCHOOLS
Constants for attribute 'partnerSchools'- See Also:
- Constant Field Values
-
PARTNER_SCHOOLS_LINK_URL
public static final String PARTNER_SCHOOLS_LINK_URL
Constants for attribute 'partnerSchools/linkUrl'- See Also:
- Constant Field Values
-
PARTNER_SCHOOLS_LINK_LABEL
public static final String PARTNER_SCHOOLS_LINK_LABEL
Constants for attribute 'partnerSchools/linkLabel'- See Also:
- Constant Field Values
-
PARTNER_LABORATORIES
public static final String PARTNER_LABORATORIES
Constants for attribute 'partnerLaboratories'- See Also:
- Constant Field Values
-
PARTNER_LABORATORIES_LINK_URL
public static final String PARTNER_LABORATORIES_LINK_URL
Constants for attribute 'partnerLaboratories/linkUrl'- See Also:
- Constant Field Values
-
PARTNER_LABORATORIES_LINK_LABEL
public static final String PARTNER_LABORATORIES_LINK_LABEL
Constants for attribute 'partnerLaboratories/linkLabel'- See Also:
- Constant Field Values
-
RNCP_CODE
public static final String RNCP_CODE
Constants for attribute 'rncpCode'- See Also:
- Constant Field Values
-
RNCP_LEVEL
public static final String RNCP_LEVEL
Constants for attribute 'rncpLevel'- See Also:
- Constant Field Values
-
SISE_CODE
public static final String SISE_CODE
Constants for attribute 'siseCode'- See Also:
- Constant Field Values
-
CITE97_CODE
public static final String CITE97_CODE
Constants for attribute 'Cite 97'- See Also:
- Constant Field Values
-
ERASMUS_CODE
public static final String ERASMUS_CODE
Constants for attribute 'erasmusCode'- See Also:
- Constant Field Values
-
DGESIP_CODE
public static final String DGESIP_CODE
Constants for attribute 'erasmusCode'- See Also:
- Constant Field Values
-
FORMACODE
public static final String FORMACODE
Constants for attribute 'formacode'- See Also:
- Constant Field Values
-
ROME_CODE
public static final String ROME_CODE
Constants for attribute 'romeCode'- See Also:
- Constant Field Values
-
FAP_CODE
public static final String FAP_CODE
Constants for attribute 'fapCode'- See Also:
- Constant Field Values
-
NSF_CODE
public static final String NSF_CODE
Constants for attribute 'nsfCode'- See Also:
- Constant Field Values
-
PROGRAM_WEBSITE
public static final String PROGRAM_WEBSITE
Constants for attribute 'programWebSite'- See Also:
- Constant Field Values
-
PROGRAM_WEBSITE_LABEL
public static final String PROGRAM_WEBSITE_LABEL
Constants for attribute 'programWebSiteLabel'- See Also:
- Constant Field Values
-
PROGRAM_WEBSITE_URL
public static final String PROGRAM_WEBSITE_URL
Constants for attribute 'programWebSiteUrl'- See Also:
- Constant Field Values
-
ATTACHMENTS
public static final String ATTACHMENTS
Constants for attribute 'attachments'- See Also:
- Constant Field Values
-
ATTACHMENTS_ATTACHMENT
public static final String ATTACHMENTS_ATTACHMENT
Constants for attribute 'attachments/attachment'- See Also:
- Constant Field Values
-
ATTACHMENTS_ATTACHMENT_TEXT
public static final String ATTACHMENTS_ATTACHMENT_TEXT
Constants for attribute 'attachments/attachment-text'- See Also:
- Constant Field Values
-
NUMBER_OF_STUDENTS
public static final String NUMBER_OF_STUDENTS
Constants for attribute 'numberOfStudents'- See Also:
- Constant Field Values
-
SUCCESSRATE
public static final String SUCCESSRATE
Constants for attribute 'successRate'- See Also:
- Constant Field Values
-
REORIENTATION
public static final String REORIENTATION
Constants for attribute 'reorientation'- See Also:
- Constant Field Values
-
KEYWORDS
public static final String KEYWORDS
Constants for attribute 'keywords'- See Also:
- Constant Field Values
-
SHARED_WITH
public static final String SHARED_WITH
Constants for attribute 'sharedWith' (for shared program in a co-accredited mention only)- See Also:
- Constant Field Values
-
EDUCATION_ENTRY_LEVEL
public static final String EDUCATION_ENTRY_LEVEL
Constants for attribute 'educationEntryLevel'- See Also:
- Constant Field Values
-
MANDATORY_ENTRY_LEVEL
public static final String MANDATORY_ENTRY_LEVEL
Constants for attribute 'mandatoryEntryLevel'- See Also:
- Constant Field Values
-
PROGRAM_FIELD
public static final String PROGRAM_FIELD
Constants for attribute 'programField'- See Also:
- Constant Field Values
-
AVAILABLE_CERTIFICATION
public static final String AVAILABLE_CERTIFICATION
Constants for attribute 'availableCertification'- See Also:
- Constant Field Values
-
DISCIPLINES
public static final String DISCIPLINES
Constants for attribute 'disciplines'- See Also:
- Constant Field Values
-
SECTORS
public static final String SECTORS
Constants for attribute 'sectors'- See Also:
- Constant Field Values
-
INTERNSHIP_OPEN
public static final String INTERNSHIP_OPEN
Constants for attribute 'internshipOpen'- See Also:
- Constant Field Values
-
INTERNSHIP_DESCRIPTION
public static final String INTERNSHIP_DESCRIPTION
Constants for attribute 'internshipDescription'- See Also:
- Constant Field Values
-
INTERNSHIP_DESCRIPTION_TITLE
public static final String INTERNSHIP_DESCRIPTION_TITLE
Constants for attribute 'internshipDescription/title'- See Also:
- Constant Field Values
-
INTERNSHIP_DESCRIPTION_DURATION
public static final String INTERNSHIP_DESCRIPTION_DURATION
Constants for attribute 'internshipDescription/duration'- See Also:
- Constant Field Values
-
INTERNSHIP_DESCRIPTION_PERIOD
public static final String INTERNSHIP_DESCRIPTION_PERIOD
Constants for attribute 'internshipDescription/period'- See Also:
- Constant Field Values
-
INTERNSHIP_DESCRIPTION_KIND
public static final String INTERNSHIP_DESCRIPTION_KIND
Constants for attribute 'internshipDescription/kind'- See Also:
- Constant Field Values
-
APPRENTICESHIP_OPEN
public static final String APPRENTICESHIP_OPEN
Constants for attribute 'apprenticeshipOpen'- See Also:
- Constant Field Values
-
APPRENTICESHIP_PERIOD
public static final String APPRENTICESHIP_PERIOD
Constants for attribute 'apprenticeshipPeriod'- See Also:
- Constant Field Values
-
APPRENTICESHIP_CONTRACT
public static final String APPRENTICESHIP_CONTRACT
Constants for attribute 'apprenticeshipContract'- See Also:
- Constant Field Values
-
INTERNATIONAL_EDUCATION
public static final String INTERNATIONAL_EDUCATION
Constants for attribute 'internationalEducation'- See Also:
- Constant Field Values
-
INTERNATIONAL_DIMENSION
public static final String INTERNATIONAL_DIMENSION
Constants for attribute 'internationalDimension'- See Also:
- Constant Field Values
-
GEOCODE
public static final String GEOCODE
Constants for attribute 'geoCode'- See Also:
- Constant Field Values
-
OTHER_PARTNERS
public static final String OTHER_PARTNERS
Constants for attribute 'otherPartners'- See Also:
- Constant Field Values
-
OTHER_CONTACT
public static final String OTHER_CONTACT
Constants for attribute 'otherPartners'- See Also:
- Constant Field Values
-
CAMPUS
public static final String CAMPUS
Constants for attribute 'campus'- See Also:
- Constant Field Values
-
FOREIGN_PLACE
public static final String FOREIGN_PLACE
Constants for attribute 'foreignPlace'- See Also:
- Constant Field Values
-
INSCRIPTION
public static final String INSCRIPTION
Constants for attribute 'inscription'- See Also:
- Constant Field Values
-
FURTHER_STUDY_PROGRAMS
public static final String FURTHER_STUDY_PROGRAMS
Constants for attribute 'furtherStudyPrograms'- See Also:
- Constant Field Values
-
ORG_UNITS_REFERENCES
public static final String ORG_UNITS_REFERENCES
Constants for attribute 'orgUnits'- See Also:
- Constant Field Values
-
CONTACTS
public static final String CONTACTS
Constants for attribute 'contacts'- See Also:
- Constant Field Values
-
CONTACTS_ROLE
public static final String CONTACTS_ROLE
Constants for attribute 'contacts/role'- See Also:
- Constant Field Values
-
CONTACTS_PERSONS
public static final String CONTACTS_PERSONS
Constants for attribute 'contacts/persons'- See Also:
- Constant Field Values
-
_contextPath
private String _contextPath
-
-
Constructor Detail
-
AbstractProgram
public AbstractProgram(Node node, String parentPath, F factory)
Constructor- Parameters:
node
- The JCR nodeparentPath
- The parent pathfactory
- The factory
-
-
Method Detail
-
remove
public void remove() throws AmetysRepositoryException, RepositoryIntegrityViolationException
Description copied from interface:RemovableAmetysObject
Removes thisAmetysObject
from the Ametys tree.- Specified by:
remove
in interfaceRemovableAmetysObject
- Overrides:
remove
in classModifiableDefaultContent<F extends ProgramFactory>
- Throws:
AmetysRepositoryException
- if an error occurs.RepositoryIntegrityViolationException
- if thisAmetysObject
is referenced by another objects.
-
setContextPath
public void setContextPath(String path)
Set the parent path for links and breadcrumb- Parameters:
path
- the parent path
-
getContextPath
public String getContextPath()
Get the parent path. Can be null.- Returns:
- the parent path
-
removeReference
public void removeReference(String attributeName, String value)
Remove reference from local and remote attribute- Parameters:
attributeName
- The attribute namevalue
- The value of reference to remove
-
getOrgUnits
public List<String> getOrgUnits()
Return the list of orgUnits binded to this program- Returns:
- a list of uuid
-
addOrgUnit
public void addOrgUnit(String orgUnitId)
Bind a orgUnit element to this program- Parameters:
orgUnitId
- the uuid of a orgunit element
-
removeOrgUnit
public void removeOrgUnit(String orgUnitId) throws AmetysRepositoryException
Remove a orgunit from the list- Parameters:
orgUnitId
- the uuid of a orgunit element- Throws:
AmetysRepositoryException
- if an error occurs
-
getContacts
public Set<String> getContacts()
Return the list of Persons in charge binded to this program- Returns:
- a list of roles and UUID
-
getContactsByRole
public Map<String,List<String>> getContactsByRole()
Return the list of Persons in charge binded to this program- Returns:
- a list of roles and UUID
-
setDegree
public void setDegree(String degree) throws AmetysRepositoryException
Set the degree- Parameters:
degree
- the degree to set- Throws:
AmetysRepositoryException
- if an error occurred
-
isCertified
public boolean isCertified()
Returns true if theAbstractProgram
is certified- Returns:
- true if certified
-
setDomain
public void setDomain(String domain) throws AmetysRepositoryException
Set the domain- Parameters:
domain
- the domain to set- Throws:
AmetysRepositoryException
- if an error occurred
-
getPresentation
public RichText getPresentation()
Get the education presentation- Returns:
- the education presentation or null if not set
-
getObjectives
public RichText getObjectives()
Get the education objectives- Returns:
- the education objectives or null if not set
-
getQualification
public RichText getQualification()
Get the education qualification- Returns:
- the education qualification or null if not set
-
getTeachingOrganization
public RichText getTeachingOrganization()
Get the education organization- Returns:
- the education organization or null if not set
-
getAlternationModality
public RichText getAlternationModality()
Get the alternation modality- Returns:
- the alternation modality or null if not set
-
getAccessCondition
public RichText getAccessCondition()
Get the access conditions- Returns:
- the access conditions or null if not set
-
getNeededPrerequisite
public RichText getNeededPrerequisite()
Get the education requirements- Returns:
- the education requirements or null if not set
-
getRecommendedPrerequisite
public RichText getRecommendedPrerequisite()
Get the education recommended prerequisite- Returns:
- the education recommended prerequisite or null if not set
-
getExpectedResults
public RichText getExpectedResults()
Get the education expected results- Returns:
- the education expected results or null if not set
-
getFurtherStudy
public RichText getFurtherStudy()
Get the education further study- Returns:
- the education further study or null if not set
-
getStudyAbroad
public RichText getStudyAbroad()
Get the education study abroard- Returns:
- the education study abroard or null if not set
-
getTargetGroup
public RichText getTargetGroup()
Get the education target- Returns:
- the education target or null if not set
-
getJobOpportunities
public RichText getJobOpportunities()
Get the job opportunities- Returns:
- the job opportunities or null if not set
-
getTrainingStrategy
public RichText getTrainingStrategy()
Get the training strategy- Returns:
- the training strategy or null if not set
-
getKnowledgeCheck
public RichText getKnowledgeCheck()
Get acknowledgments- Returns:
- acknowledgments or null if not set
-
getUniversalAdjustment
public RichText getUniversalAdjustment()
Get universal adjustment- Returns:
- universal adjustment or null if not set
-
isCertifying
public boolean isCertifying()
Is certifying- Returns:
true
if the progam is certifying
-
getAdditionalInformations
public RichText getAdditionalInformations()
Get the additional informations- Returns:
- the additional informations or null if not set
-
getEducationLevel
public String getEducationLevel()
Get the education level- Returns:
- the education level or null
-
getRncpCode
public String[] getRncpCode()
Get the RNCP code- Returns:
- the RNCP code
-
getRncpLevel
public String[] getRncpLevel()
Get the RNCP level- Returns:
- the RNCP level
-
getSiseCode
public String[] getSiseCode()
Get the SISE code- Returns:
- the SISE code
-
getCite97Code
public String[] getCite97Code()
Get the CITE97 code- Returns:
- the CITE97 code
-
getDGESIPCode
public String[] getDGESIPCode()
Get the DGESIP code- Returns:
- the DGESIP code
-
getErasmusCode
public String[] getErasmusCode()
Get the Erasmus code- Returns:
- the Erasmus code
-
getFORMACODE
public String[] getFORMACODE()
Get the FORMACODE- Returns:
- the FORMACODE
-
getRomeCode
public String[] getRomeCode()
Get the ROME code- Returns:
- the ROME code
-
getFapCode
public String[] getFapCode()
Get the FAP code- Returns:
- the FAP code
-
getNSFCode
public String getNSFCode()
Get the NSF code- Returns:
- the NSF code
-
getMention
public String getMention()
Get the mention- Returns:
- the mention or null
-
getSpeciality
public String getSpeciality()
Get the speciality- Returns:
- the speciality or null
-
getJointOrgUnit
public String[] getJointOrgUnit()
Get the org units- Returns:
- the org units
-
getWebsiteLinks
public Set<WebsiteLink> getWebsiteLinks()
Get the list of websites- Returns:
- the list of website or an empty list
-
getEducationKind
public String getEducationKind()
Get the kind of education- Returns:
- the kind of education or null
-
getDuration
public String getDuration()
Get the duration- Returns:
- the duration
-
getEducationLanguage
public String[] getEducationLanguage()
Get the education languages- Returns:
- the education languages
-
getEffectives
public RichText getEffectives()
Get the effectives- Returns:
- the effectives
-
getSuccessRate
public String getSuccessRate()
Get the SuccessRate- Returns:
- the SuccessRate
-
getExpenses
public RichText getExpenses()
Get the expenses- Returns:
- the expenses
-
getFormOfTeachingOrgs
public String[] getFormOfTeachingOrgs()
Get the form of teaching organization- Returns:
- the form of teaching organization
-
getReorientation
public RichText getReorientation()
Get the REORIENTATION- Returns:
- RichText
-
getDistanceLearning
public String getDistanceLearning()
Get the distance learning- Returns:
- the distance learning or null
-
getInternship
public String getInternship()
Get the internship- Returns:
- the internship or null
-
getInternshipDuration
public String getInternshipDuration()
Get the internship duration- Returns:
- the internship duration or null
-
getInternshipAbroad
public String getInternshipAbroad()
Get the internship abroad- Returns:
- the internship abroad or null
-
getAbroadInternshipDuration
public String getAbroadInternshipDuration()
Get the internship abroad duration- Returns:
- the internship abroad duration or null
-
getRegistrationStart
public LocalDate getRegistrationStart()
Get the registration start date.- Returns:
- The registration start date, can be null.
-
getRegistrationDeadline
public LocalDate getRegistrationDeadline()
Get the registration deadline date.- Returns:
- The registration deadline date, can be null.
-
getTeachingStart
public LocalDate getTeachingStart()
Get the teaching start date.- Returns:
- The teaching start date, can be null.
-
getKeywords
public String[] getKeywords()
Get the keywords- Returns:
- the keywords
-
getSharedWith
public String[] getSharedWith()
Get the CDMfr codes of shared (sub)programs- Returns:
- the CDMfr codes
-
getEducationLevelEntry
public String[] getEducationLevelEntry()
Get the education level entry- Returns:
- the education level entry
-
isMandatoryEntryLevel
public boolean isMandatoryEntryLevel()
Is the entry level mandatory- Returns:
true
if the entry level is mandatory
-
getProgramField
public String[] getProgramField()
Get the program fields- Returns:
- the program fields
-
getAvailableCertification
public String[] getAvailableCertification()
Get the available certifications- Returns:
- the available certifications
-
getDisciplines
public String[] getDisciplines()
Get the disciplines- Returns:
- the disciplines
-
getRequiredSkills
public String[] getRequiredSkills()
Get the required skills- Returns:
- the required skills
-
getSectors
public String[] getSectors()
Get the sectors- Returns:
- the sectors
-
isInternshipOpen
public boolean isInternshipOpen()
Is intership open- Returns:
true
if internship is open
-
isApprenticeshipOpen
public boolean isApprenticeshipOpen()
Is apprenticeship open- Returns:
true
if apprenticeship is open
-
getApprenticeshipPeriod
public RichText getApprenticeshipPeriod()
Get the apprenticeship period description- Returns:
- the apprenticeship period
-
getApprenticeshipContract
public String[] getApprenticeshipContract()
Get the available apprenticeship contracts- Returns:
- the apprenticeship contracts
-
getInternationalEducation
public String[] getInternationalEducation()
Get the international education- Returns:
- the international education
-
getInternationalDimension
public RichText getInternationalDimension()
Get the international dimension- Returns:
- the international dimension
-
getGeocode
public Geocode getGeocode()
Get the geocode latitude and longitude- Returns:
- the geocode
-
getOtherPartners
public RichText getOtherPartners()
Get the other partners- Returns:
- the other partners
-
getForeignPlace
public String[] getForeignPlace()
Get the foreign places- Returns:
- the foreign places
-
getInscription
public RichText getInscription()
Get the inscription- Returns:
- the inscription
-
getFurtherStudyPrograms
public String[] getFurtherStudyPrograms()
Get the further study programs- Returns:
- the further study programs
-
getCourseLists
public List<CourseList> getCourseLists()
Description copied from interface:CourseListContainer
Returns the child course lists- Specified by:
getCourseLists
in interfaceCourseListContainer
- Returns:
- the child course lists
-
containsCourseList
public boolean containsCourseList(String clId)
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
-
hasCourseLists
public boolean 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
-
getCDMType
protected String getCDMType()
Description copied from class:AbstractProgramPart
Get the type of thisProgramPart
in CDM. This type compose the CDM identifier- Specified by:
getCDMType
in classAbstractProgramPart<F extends ProgramFactory>
- Returns:
- the type
-
getCDMTagName
public abstract String getCDMTagName()
Returns the surrounding tag name in the CDM-fr representation.- Returns:
- the surrounding tag name
-
-