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 forProgramandSubProgram.
-
-
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_contextPathstatic StringACCESS_CONDITIONConstants for attribute 'accessCondition'static StringADDITIONNAL_INFORMATIONSConstants for attribute 'additionalInformations'static StringALREADY_IMPORTED_ATTRalready imported attributestatic StringALTERNATION_MODALITYConstants for attribute 'alternationModality'static StringAPPRENTICESHIP_CONTRACTConstants for attribute 'apprenticeshipContract'static StringAPPRENTICESHIP_OPENConstants for attribute 'apprenticeshipOpen'static StringAPPRENTICESHIP_PERIODConstants for attribute 'apprenticeshipPeriod'static StringATTACHMENTSConstants for attribute 'attachments'static StringATTACHMENTS_ATTACHMENTConstants for attribute 'attachments/attachment'static StringATTACHMENTS_ATTACHMENT_TEXTConstants for attribute 'attachments/attachment-text'static StringAVAILABLE_CERTIFICATIONConstants for attribute 'availableCertification'static StringCAMPUSConstants for attribute 'campus'static StringCERTIFIEDConstants for attribute 'certified'static StringCERTIFYINGConstants for attribute 'certifying'static StringCITE97_CODEConstants for attribute 'Cite 97'static StringCONTACTSConstants for attribute 'contacts'static StringCONTACTS_PERSONSConstants for attribute 'contacts/persons'static StringCONTACTS_ROLEConstants for attribute 'contacts/role'static StringDEGREEConstants for attribute 'degree'static StringDGESIP_CODEConstants for attribute 'erasmusCode'static StringDISCIPLINESConstants for attribute 'disciplines'static StringDISTANCE_LEARNINGConstants for attribute 'distanceLearning'static StringDOMAINConstants for attribute 'domain'static StringDURATIONConstants for attribute 'duration'static StringECTSConstants for attribute 'ects'static StringEDUC_LANGUAGEConstants for attribute 'educationLanguage'static StringEDUCATION_ENTRY_LEVELConstants for attribute 'educationEntryLevel'static StringEDUCATION_KINDConstants for attribute 'educationKind'static StringERASMUS_CODEConstants for attribute 'erasmusCode'static StringEXPECTED_RESULTSConstants for attribute 'expectedResults'static StringEXPENSESConstants for attribute 'expenses'static StringFAP_CODEConstants for attribute 'fapCode'static StringFOREIGN_PLACEConstants for attribute 'foreignPlace'static StringFORM_OF_TEACHING_ORGConstant for attribute 'formofteachingOrg'static StringFORMACODEConstants for attribute 'formacode'static StringFURTHER_STUDYConstants for attribute 'furtherStudy'static StringFURTHER_STUDY_PROGRAMSConstants for attribute 'furtherStudyPrograms'static StringGEOCODEConstants for attribute 'geoCode'static StringINSCRIPTIONConstants for attribute 'inscription'static StringINTERNATIONAL_DIMENSIONConstants for attribute 'internationalDimension'static StringINTERNATIONAL_EDUCATIONConstants for attribute 'internationalEducation'static StringINTERNSHIPConstants for attribute 'internship'static StringINTERNSHIP_ABROADConstants for attribute 'internshipAbroad'static StringINTERNSHIP_ABROAD_DURATIONConstants for attribute 'internshipAbroadDuration'static StringINTERNSHIP_DESCRIPTIONConstants for attribute 'internshipDescription'static StringINTERNSHIP_DESCRIPTION_DURATIONConstants for attribute 'internshipDescription/duration'static StringINTERNSHIP_DESCRIPTION_KINDConstants for attribute 'internshipDescription/kind'static StringINTERNSHIP_DESCRIPTION_PERIODConstants for attribute 'internshipDescription/period'static StringINTERNSHIP_DESCRIPTION_TITLEConstants for attribute 'internshipDescription/title'static StringINTERNSHIP_DURATIONConstants for attribute 'internshipDuration'static StringINTERNSHIP_OPENConstants for attribute 'internshipOpen'static StringJOB_OPPORTUNITIESConstants for attribute 'jobOpportunities'static StringJOINT_ORGUNITConstants for attribute 'jointOrgUnit'static StringKEYWORDSConstants for attribute 'keywords'static StringKNOWLEDGE_CHECKConstants for attribute 'knowledgeCheck'static StringLEVELConstants for attribute 'educationLevel'static StringMANDATORY_ENTRY_LEVELConstants for attribute 'mandatoryEntryLevel'static StringMENTIONConstants for attribute 'mention'static StringNEEDED_PREREQUISITEConstants for attribute 'neededPrerequisite'static StringNSF_CODEConstants for attribute 'nsfCode'static StringNUMBER_OF_STUDENTSConstants for attribute 'numberOfStudents'static StringOBJECTIVESConstants for attribute 'objectives'static StringORG_UNITS_REFERENCESConstants for attribute 'orgUnits'static StringOTHER_CONTACTConstants for attribute 'otherPartners'static StringOTHER_PARTNERSConstants for attribute 'otherPartners'static StringPARTNER_LABORATORIESConstants for attribute 'partnerLaboratories'static StringPARTNER_LABORATORIES_LINK_LABELConstants for attribute 'partnerLaboratories/linkLabel'static StringPARTNER_LABORATORIES_LINK_URLConstants for attribute 'partnerLaboratories/linkUrl'static StringPARTNER_SCHOOLSConstants for attribute 'partnerSchools'static StringPARTNER_SCHOOLS_LINK_LABELConstants for attribute 'partnerSchools/linkLabel'static StringPARTNER_SCHOOLS_LINK_URLConstants for attribute 'partnerSchools/linkUrl'static StringPLACEConstants for attribute 'place'static StringPRESENTATIONConstants for attribute 'presentation'static StringPROGRAM_FIELDConstants for attribute 'programField'static StringPROGRAM_WEBSITEConstants for attribute 'programWebSite'static StringPROGRAM_WEBSITE_LABELConstants for attribute 'programWebSiteLabel'static StringPROGRAM_WEBSITE_URLConstants for attribute 'programWebSiteUrl'static StringQUALIFICATIONConstants for attribute 'qualification'static StringRECOMMENDED_PREREQUISITEConstants for attribute 'recommendedPrerequisite'static StringREGISTRATION_DEADLINEConstants for attribute 'registrationDeadline'static StringREGISTRATION_STARTConstants for attribute 'registrationStart'static StringREORIENTATIONConstants for attribute 'reorientation'static StringREQUIRED_SKILLSConstants for attribute 'requiredSkills'static StringRNCP_CODEConstants for attribute 'rncpCode'static StringRNCP_LEVELConstants for attribute 'rncpLevel'static StringROME_CODEConstants for attribute 'romeCode'static StringSECTORSConstants for attribute 'sectors'static StringSHARED_WITHConstants for attribute 'sharedWith' (for shared program in a co-accredited mention only)static StringSISE_CODEConstants for attribute 'siseCode'static StringSPECIALITYConstants for attribute 'speciality'static StringSTUDY_ABROADConstants for attribute 'studyAbroad'static StringSUCCESSRATEConstants for attribute 'successRate'static StringTARGET_GROUPConstants for attribute 'targetGroup'static StringTEACHING_ORGANIZATIONConstants for attribute 'teachingOrganization'static StringTEACHING_STARTConstants for attribute 'teachingStart'static StringTRAINING_STRATEGYConstants for attribute 'trainingStrategy'static StringUNIVERSAL_ADJUSTMENTConstants 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, COMMENTS_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 voidaddOrgUnit(String orgUnitId)Bind a orgUnit element to this programbooleancontainsCourseList(String clId)Determines if thisCourseListContainercontains the given course list as childStringgetAbroadInternshipDuration()Get the internship abroad durationRichTextgetAccessCondition()Get the access conditionsRichTextgetAdditionalInformations()Get the additional informationsRichTextgetAlternationModality()Get the alternation modalityString[]getApprenticeshipContract()Get the available apprenticeship contractsRichTextgetApprenticeshipPeriod()Get the apprenticeship period descriptionString[]getAvailableCertification()Get the available certificationsString[]getCampus()Get the campusabstract StringgetCDMTagName()Returns the surrounding tag name in the CDM-fr representation.protected StringgetCDMType()Get the type of thisProgramPartin 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 programStringgetContextPath()Get the parent path.List<CourseList>getCourseLists()Returns the child course listsStringgetDegree()Get the degreeString[]getDGESIPCode()Get the DGESIP codeString[]getDisciplines()Get the disciplinesStringgetDistanceLearning()Get the distance learningString[]getDomain()Get the domainStringgetDuration()Get the durationStringgetEcts()Get the ECTS creditsStringgetEducationKind()Get the kind of educationString[]getEducationLanguage()Get the education languagesStringgetEducationLevel()Get the education levelString[]getEducationLevelEntry()Get the education level entryRichTextgetEffectives()Get the effectivesString[]getErasmusCode()Get the Erasmus codeRichTextgetExpectedResults()Get the education expected resultsRichTextgetExpenses()Get the expensesString[]getFapCode()Get the FAP codeString[]getForeignPlace()Get the foreign placesString[]getFORMACODE()Get the FORMACODEString[]getFormOfTeachingOrgs()Get the form of teaching organizationRichTextgetFurtherStudy()Get the education further studyString[]getFurtherStudyPrograms()Get the further study programsGeocodegetGeocode()Get the geocode latitude and longitudeRichTextgetInscription()Get the inscriptionRichTextgetInternationalDimension()Get the international dimensionString[]getInternationalEducation()Get the international educationStringgetInternship()Get the internshipStringgetInternshipAbroad()Get the internship abroadStringgetInternshipDuration()Get the internship durationRichTextgetJobOpportunities()Get the job opportunitiesString[]getJointOrgUnit()Get the org unitsString[]getKeywords()Get the keywordsRichTextgetKnowledgeCheck()Get acknowledgmentsStringgetMention()Get the mentionRichTextgetNeededPrerequisite()Get the education requirementsStringgetNSFCode()Get the NSF codeRichTextgetObjectives()Get the education objectivesList<String>getOrgUnits()Return the list of orgUnits binded to this programRichTextgetOtherPartners()Get the other partnersString[]getPlace()Get the placesRichTextgetPresentation()Get the education presentationString[]getProgramField()Get the program fieldsRichTextgetQualification()Get the education qualificationRichTextgetRecommendedPrerequisite()Get the education recommended prerequisiteLocalDategetRegistrationDeadline()Get the registration deadline date.LocalDategetRegistrationStart()Get the registration start date.RichTextgetReorientation()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 codeStringgetSpeciality()Get the specialityRichTextgetStudyAbroad()Get the education study abroardStringgetSuccessRate()Get the SuccessRateRichTextgetTargetGroup()Get the education targetRichTextgetTeachingOrganization()Get the education organizationLocalDategetTeachingStart()Get the teaching start date.RichTextgetTrainingStrategy()Get the training strategyRichTextgetUniversalAdjustment()Get universal adjustmentSet<WebsiteLink>getWebsiteLinks()Get the list of websitesbooleanhasCourseLists()Determines if thisCourseListContainercontains child course listbooleanisApprenticeshipOpen()Is apprenticeship openbooleanisCertified()Returns true if theAbstractProgramis certifiedbooleanisCertifying()Is certifyingbooleanisInternshipOpen()Is intership openbooleanisMandatoryEntryLevel()Is the entry level mandatoryvoidremove()Removes thisAmetysObjectfrom the Ametys tree.voidremoveOrgUnit(String orgUnitId)Remove a orgunit from the listvoidremoveReference(String attributeName, String value)Remove reference from local and remote attributevoidsetContextPath(String path)Set the parent path for links and breadcrumbvoidsetDegree(String degree)Set the degreevoidsetDomain(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, fillContent, 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, getMixinTypes, 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, getAllRevisions, getBaseNode, getBaseVersion, getLabels, getLabels, getNode, getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, getRevision, getRevisionTimestamp, getRevisionTimestamp, getUnversionedDataHolder, getVersionHistory, isInheritanceDisallowed, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers, removeLabel, restoreFromLabel, restoreFromNode, restoreFromRevision, switchToLabel, switchToRevision
-
Methods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getParent, getParentPath, getPath, needsSave, rename, revertChanges, saveChanges
-
Methods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ametys.plugins.repository.ACLAmetysObject
getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, isInheritanceDisallowed
-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
Methods inherited from interface org.ametys.odf.cdmfr.CDMEntity
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, 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
getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasLocalValue, hasNonEmptyExternalValue, hasNonEmptyLocalValue, hasNonEmptyValue, hasValue
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToMap, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, dataToSAX, dataToSAXForEdition, getDataNames, getType, getValue, hasNonEmptyValue, 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, getParentDataHolder, getRepeater, getRepeater, getRepositoryData, getRootDataHolder, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, 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:RemovableAmetysObjectRemoves thisAmetysObjectfrom the Ametys tree.- Specified by:
removein interfaceRemovableAmetysObject- Overrides:
removein classModifiableDefaultContent<F extends ProgramFactory>- Throws:
AmetysRepositoryException- if an error occurs.RepositoryIntegrityViolationException- if thisAmetysObjectis 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 theAbstractProgramis 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:
trueif 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:
trueif 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:
trueif internship is open
-
isApprenticeshipOpen
public boolean isApprenticeshipOpen()
Is apprenticeship open- Returns:
trueif 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:CourseListContainerReturns the child course lists- Specified by:
getCourseListsin interfaceCourseListContainer- Returns:
- the child course lists
-
containsCourseList
public boolean containsCourseList(String clId)
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
-
hasCourseLists
public boolean 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
-
getCDMType
protected String getCDMType()
Description copied from class:AbstractProgramPartGet the type of thisProgramPartin CDM. This type compose the CDM identifier- Specified by:
getCDMTypein 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
-
-