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:
ModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,IndexableDataHolder
,ModifiableIndexableDataHolder
,CommentableContent
,CommentableAmetysObject
,Content
,ModifiableContent
,ModifiableWorkflowAwareContent
,ReactionableObject
,ReportableObject
,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
,TagAwareAmetysObject
,TaggableAmetysObject
,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 for
Program
and SubProgram
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.repository.Content
Content.ReferencingContentsSearch
Nested classes/interfaces inherited from interface org.ametys.cms.repository.ReactionableObject
ReactionableObject.ReactionType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constants for attribute 'accessCondition'static final String
Constants for attribute 'additionalInformations'static final String
Constants for attribute 'alternationModality'static final String
Constants for attribute 'apprenticeshipContract'static final String
Constants for attribute 'apprenticeshipOpen'static final String
Constants for attribute 'apprenticeshipPeriod'static final String
Constants for attribute 'attachments'static final String
Constants for attribute 'attachments/attachment'static final String
Constants for attribute 'attachments/attachment-text'static final String
Constants for attribute 'availableCertification'static final String
Constants for attribute 'campus'static final String
Constants for attribute 'certified'static final String
Constants for attribute 'certifying'static final String
Constants for attribute 'Cite 97'static final String
Constants for attribute 'contacts'static final String
Constants for attribute 'contacts/persons'static final String
Constants for attribute 'contacts/role'static final String
Constants for attribute 'degree'static final String
Constants for attribute 'erasmusCode'static final String
Constants for attribute 'disciplines'static final String
Constants for attribute 'distanceLearning'static final String
Constants for attribute 'domain'static final String
Constants for attribute 'duration'static final String
Constants for attribute 'ects'static final String
Constants for attribute 'educationLanguage'static final String
Constants for attribute 'educationEntryLevel'static final String
Constants for attribute 'educationKind'static final String
Constants for attribute 'erasmusCode'static final String
Constants for attribute 'expectedResults'static final String
Constants for attribute 'expenses'static final String
Constants for attribute 'fapCode'static final String
Constants for attribute 'foreignPlace'static final String
Constant for attribute 'formofteachingOrg'static final String
Constants for attribute 'formacode'static final String
Constants for attribute 'furtherStudy'static final String
Constants for attribute 'furtherStudyPrograms'static final String
Constants for attribute 'geoCode'static final String
Constants for attribute 'inscription'static final String
Constants for attribute 'internationalDimension'static final String
Constants for attribute 'internationalEducation'static final String
Constants for attribute 'internship'static final String
Constants for attribute 'internshipAbroad'static final String
Constants for attribute 'internshipAbroadDuration'static final String
Constants for attribute 'internshipDescription'static final String
Constants for attribute 'internshipDescription/duration'static final String
Constants for attribute 'internshipDescription/kind'static final String
Constants for attribute 'internshipDescription/period'static final String
Constants for attribute 'internshipDescription/title'static final String
Constants for attribute 'internshipDuration'static final String
Constants for attribute 'internshipOpen'static final String
Constants for attribute 'jobOpportunities'static final String
Constants for attribute 'jointOrgUnit'static final String
Constants for attribute 'keywords'static final String
Constants for attribute 'knowledgeCheck'static final String
Constants for attribute 'educationLevel'static final String
Constants for attribute 'mandatoryEntryLevel'static final String
Constants for attribute 'mention'static final String
Constants for attribute 'neededPrerequisite'static final String
Constants for attribute 'nsfCode'static final String
Constants for attribute 'numberOfStudents'static final String
Constants for attribute 'objectives'static final String
Constants for attribute 'orgUnits'static final String
Constants for attribute 'otherPartners'static final String
Constants for attribute 'otherPartners'static final String
Constants for attribute 'partnerLaboratories'static final String
Constants for attribute 'partnerLaboratories/linkLabel'static final String
Constants for attribute 'partnerLaboratories/linkUrl'static final String
Constants for attribute 'partnerSchools'static final String
Constants for attribute 'partnerSchools/linkLabel'static final String
Constants for attribute 'partnerSchools/linkUrl'static final String
Constants for attribute 'place'static final String
Constants for attribute 'presentation'static final String
Constants for attribute 'programField'static final String
Constants for attribute 'programWebSite'static final String
Constants for attribute 'programWebSiteLabel'static final String
Constants for attribute 'programWebSiteUrl'static final String
Constants for attribute 'qualification'static final String
Constants for attribute 'recommendedPrerequisite'static final String
Constants for attribute 'registrationDeadline'static final String
Constants for attribute 'registrationStart'static final String
Constants for attribute 'reorientation'static final String
Constants for attribute 'requiredSkills'static final String
Constants for attribute 'rncpCode'static final String
Constants for attribute 'rncpLevel'static final String
Constants for attribute 'romeCode'static final String
Constants for attribute 'sectors'static final String
Constants for attribute 'siseCode'static final String
Constants for attribute 'speciality'static final String
Constants for attribute 'studyAbroad'static final String
Constants for attribute 'successRate'static final String
Constants for attribute 'targetGroup'static final String
Constants for attribute 'teachingOrganization'static final String
Constants for attribute 'teachingStart'static final String
Constants for attribute 'trainingStrategy'static final String
Constants for attribute 'universalAdjustment'Fields inherited from class org.ametys.cms.repository.DefaultContent
_mixins, _types, ATTACHMENTS_NODE_NAME, DEFAULT_CONTENT_LOCALE, METADATA_CONTENTTYPE, METADATA_CONTRIBUTOR, METADATA_CREATION, METADATA_CREATOR, METADATA_FIRST_VALIDATION, METADATA_FIRST_VALIDATOR, METADATA_LANGUAGE, METADATA_LAST_MAJOR_VALIDATOR, METADATA_LAST_MAJORVALIDATION, METADATA_LAST_VALIDATION, METADATA_LAST_VALIDATOR, METADATA_MIXINCONTENTTYPES, METADATA_MODIFIED, METADATA_OUTGOING_REFERENCE_NODETYPE, METADATA_OUTGOING_REFERENCE_PROPERTY, METADATA_OUTGOING_REFERENCES, METADATA_OUTGOING_REFERENCES_PATH_PROPERTY, METADATA_ROOT_OUTGOING_REFERENCES
Fields inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
PROTECTED_PROPERTIES
Fields inherited from interface org.ametys.odf.cdmfr.CDMFRTagsConstants
ATTRIBUTE_ACTIVITY_PART_STRUCTURE, ATTRIBUTE_BLOCK_LANG, ATTRIBUTE_BUILDING, ATTRIBUTE_CODE_SET, ATTRIBUTE_COMPETENCE_YIELDING, ATTRIBUTE_COUNTY_CODE, ATTRIBUTE_COURSE_STRUCTURE, ATTRIBUTE_CURRENCY, ATTRIBUTE_DATE, ATTRIBUTE_DEGREE, ATTRIBUTE_DEGREE_NOT_LMD, ATTRIBUTE_DIPLOMA_TYPE, ATTRIBUTE_DURATION, ATTRIBUTE_ECTS_CREDITS, ATTRIBUTE_EQUIV, ATTRIBUTE_HOURS_PER_WEEK, ATTRIBUTE_ID, ATTRIBUTE_ID_REF, ATTRIBUTE_IDENT, ATTRIBUTE_LANGUAGE, ATTRIBUTE_LEVEL, ATTRIBUTE_LIB_SET, ATTRIBUTE_LIMITED, ATTRIBUTE_METHOD, ATTRIBUTE_NATURE, ATTRIBUTE_ORG, ATTRIBUTE_ORG_TYPE, ATTRIBUTE_ORG_UNIT_KIND_CODE_VALUESET, ATTRIBUTE_PLACES, ATTRIBUTE_PRICE, ATTRIBUTE_REF, ATTRIBUTE_ROLE, ATTRIBUTE_ROOM, ATTRIBUTE_START, ATTRIBUTE_STUDY_PACE, ATTRIBUTE_TEACHING_LANG, ATTRIBUTE_TEACHING_START, ATTRIBUTE_TEACHING_TYPE, ATTRIBUTE_TEL_TYPE, ATTRIBUTE_TERM, ATTRIBUTE_TIME, ATTRIBUTE_TIME_OF_DAY, ATTRIBUTE_TOTAL_WORK_LOAD, ATTRIBUTE_USER_DEFINED, NAMESPACE_AMETYS_CDM, NAMESPACE_CDMFR, PHONE_TYPE_HOME, PHONE_TYPE_MOBILE, PHONE_TYPE_OFFICE, TAG_ACTIVITY_PARTS, TAG_ADDRESS, TAG_ADMISSION_DESCRIPTION, TAG_ADMISSION_INFO, TAG_AFFILIATION, TAG_ALT_LANG_BLOCK, TAG_BIBLIOGRAPHY, TAG_CANCEL_DEADLINE, TAG_CDM, TAG_CDM_DATE_TIME, TAG_CDM_LOCATION, TAG_COMPETENCE_DESC, TAG_COMPETENCE_VALIDITY, TAG_CONTACT_DATA, TAG_CONTACT_NAME, TAG_CONTACTS, TAG_COUNTRY, TAG_COURSE, TAG_COURSE_CODE, TAG_COURSE_CONTENTS, TAG_COURSE_DESCRIPTION, TAG_COURSE_ID, TAG_COURSE_NAME, TAG_CREDITS, TAG_CRITERIA, TAG_DATE_FROM, TAG_DATE_TO, TAG_DEGREE, TAG_DEGREE_NAME, TAG_DIGIT_PROD_PERC, TAG_DIGIT_PROD_UNT_PERC, TAG_DIGITAL_USE, TAG_DIPLOMA, TAG_ECTS_REQUIRED, TAG_EMAIL, TAG_END, TAG_EVALUATION_DEADLINE, TAG_EXAM, TAG_EXAM_DURATION, TAG_EXAM_END, TAG_EXAM_KIND, TAG_EXAM_LOCATION, TAG_EXAM_NAME, TAG_EXAM_PARTS, TAG_EXAM_START, TAG_EXAM_STRUCTURE, TAG_EXISTS, TAG_EXPENSES, TAG_EXTADR, TAG_EXTENSION_BLOCK, TAG_FAMILY_NAME, TAG_FAX, TAG_FORM_OF_ASSESSMENT, TAG_FORM_OF_TEACHING, TAG_FORMAL_PREREQUISITES, TAG_GIVEN_NAME, TAG_GLOBAL_VOLUME, TAG_HABILITATION, TAG_HABILITATION_ID, TAG_HEADER, TAG_HREF, TAG_INFO_BLOCK, TAG_INSTRUCTION_LANGUAGE, TAG_LCMS, TAG_LEARNING_OBJECTIVES, TAG_LEVEL, TAG_LEVEL_CODE, TAG_LINK_NAME, TAG_LOCALITY, TAG_NAME, TAG_OCCURRENCE_RULE, TAG_ORDINARY_NAME, TAG_ORG_UNIT, TAG_ORG_UNIT_ACRONYM, TAG_ORG_UNIT_CODE, TAG_ORG_UNIT_DESCRIPTION, TAG_ORG_UNIT_ID, TAG_ORG_UNIT_KIND, TAG_ORG_UNIT_NAME, TAG_OVERLAP, TAG_PART_STRUCTURE, TAG_PCODE, TAG_PERC_OF_USE, TAG_PERCENTAGE, TAG_PERSON, TAG_PERSON_ID, TAG_PHONE, TAG_PLACE, TAG_POBOX, TAG_PPAL_TEACHING_LANGUAGE, TAG_PROD_PEDA, TAG_PROFESS_FIELD, TAG_PROFESSION, TAG_PROFESSIONAL_DIPLOMA, TAG_PROGRAM, TAG_PROGRAM_CODE, TAG_PROGRAM_DESCRIPTION, TAG_PROGRAM_DURATION, TAG_PROGRAM_ID, TAG_PROGRAM_NAME, TAG_PROGRAM_STRUCTURE, TAG_QUALIFICATION, TAG_QUALIFICATION_DESCRIPTION, TAG_QUALIFICATION_NAME, TAG_RECOMMANDED_PREREQUISITES, TAG_REF_COURSE, TAG_REF_ORG_UNIT, TAG_REF_PERSON, TAG_REF_PROGRAM, TAG_REGION, TAG_REGISTRATION_DEADLINE, TAG_REGISTRATION_DETAIL, TAG_REGISTRATION_MODALITIES, TAG_REGISTRATION_PROCESS, TAG_REGISTRATION_START, TAG_REGULATIONS, TAG_REOCCURRING_EVENTS, TAG_RESOURCE_MGT, TAG_ROLE, TAG_ROME_DATA, TAG_SEARCH_WORD, TAG_SECT_CNU, TAG_SINGLE_EVENT, TAG_START, TAG_STATISTICS, TAG_STREET, TAG_STUDENT_FACILITIES, TAG_STUDENT_PLACES, TAG_STUDENT_STATUS, TAG_STUDY_ABROAD, TAG_STUDY_FIELD, TAG_STUDY_QUALIFICATION, TAG_SUB_BLOCK, TAG_SUB_PROGRAM, TAG_SYLLABUS, TAG_TARGET_GROUP, TAG_TEACHING_ACTIVITY, TAG_TEACHING_ACTIVITY_ID, TAG_TEACHING_ACTIVITY_NAME, TAG_TEACHING_ACTIVITY_STRUCTURE, TAG_TEACHING_PLACE, TAG_TEACHING_START, TAG_TEACHING_TERM, TAG_TEXT, TAG_TIME_FROM, TAG_TIME_OF_DAY, TAG_TIME_TO, TAG_TIMETABLE_ELEMENT, TAG_TITLE, TAG_UNIVERSAL_ADJUSTMENT, TAG_WEB_LINK, VALUE_A_CHOIX, VALUE_APPRENTICESHIP, VALUE_AREA, VALUE_AS_DEGREE, VALUE_ASSOCIATED_LABORITORIES, VALUE_ASSOCIATED_SCHOOLS, VALUE_CITE97, VALUE_COMPLEMENTARY_INFORMATIONS, VALUE_COMPONENT, VALUE_CONTINUE, VALUE_COURSE_STRUCTURE, VALUE_DEGREE, VALUE_DES, VALUE_DIP, VALUE_DISTANCE, VALUE_DOWNLOADING, VALUE_DUREE, VALUE_EC, VALUE_EDUCATION_TYPE, VALUE_ERASMUS, VALUE_FACULTATIVE, VALUE_FINALITE, VALUE_FORMCONTNONDIP, VALUE_FR_FR, VALUE_FRENCHLANGUAGE, VALUE_INIT, VALUE_INTERNATIONAL, VALUE_INTERNSHIP, VALUE_KNOWLEDGES, VALUE_KNOWMORELINK, VALUE_MENTION, VALUE_OBJECTIVES, VALUE_OBLIGATOIRE, VALUE_ORG_UNIT_PARENT, VALUE_PRESENCE, VALUE_PRESENTATION, VALUE_PRO, VALUE_PROFESSIONAL, VALUE_PROFESSIONAL_OBJECTIVES, VALUE_PURSUING, VALUE_RNCP, VALUE_SCHOOLPATH, VALUE_SISE, VALUE_SPECIALITY, VALUE_STAGE, VALUE_SUBPROG_TYPE, VALUE_TYPE, VALUE_UE, VALUE_UECONTAINER, VALUE_UEGROUP, VALUE_UNIVERSITY, VALUE_UNRLR, VALUE_VOLUME_HORAIRE, VALUE_VOLUME_HORAIRE_COURS, VALUE_VOLUME_HORAIRE_TD, VALUE_VOLUME_HORAIRE_TP
Fields inherited from interface org.ametys.cms.repository.Content
ATTRIBUTE_TITLE, METADATA_TITLE
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
Fields inherited from interface org.ametys.odf.ProgramItem
CATALOG, CODE, EDUCATIONAL_BOOKLETS, PROGRAM_ITEM_CONTENT_TYPE, PUBLISHABLE
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
ConstructorDescriptionAbstractProgram
(javax.jcr.Node node, String parentPath, F factory) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsCourseList
(String clId) Determines if thisCourseListContainer
contains the given course list as childGet the internship abroad durationGet the access conditionsGet the additional informationsGet the alternation modalityString[]
Get the available apprenticeship contractsGet the apprenticeship period descriptionString[]
Get the available certificationsString[]
Get the campusabstract String
Returns the surrounding tag name in the CDM-fr representation.protected String
Get the type of thisProgramPart
in CDM.String[]
Get the CITE97 codeReturn the list of Persons in charge binded to this programReturn the list of Persons in charge binded to this programGet the parent path.Returns the child course listsString[]
Get the DGESIP codeString[]
Get the disciplinesGet the distance learningString[]
Get the domainGet the durationgetEcts()
Get the ECTS creditsGet the kind of educationString[]
Get the education languagesGet the education levelString[]
Get the education level entryGet the effectivesString[]
Get the Erasmus codeGet the education expected resultsGet the expensesString[]
Get the FAP codeString[]
Get the foreign placesString[]
Get the FORMACODEString[]
Get the form of teaching organizationGet the education further studyString[]
Get the further study programsGet the geocode latitude and longitudeGet the inscriptionGet the international dimensionString[]
Get the international educationGet the internshipGet the internship abroadGet the internship durationGet the job opportunitiesString[]
Get the org unitsString[]
Get the keywordsGet acknowledgmentsGet the mentionGet the education requirementsGet the NSF codeGet the education objectivesReturn the list of orgUnits binded to this programGet the other partnersString[]
getPlace()
Get the placesGet the education presentationString[]
Get the program fieldsGet the education qualificationGet the education recommended prerequisiteGet the registration deadline date.Get the registration start date.Get the REORIENTATIONString[]
Get the required skillsString[]
Get the RNCP codeString[]
Get the RNCP levelString[]
Get the ROME codeString[]
Get the sectorsString[]
Get the SISE codeGet the specialityGet the education study abroardGet the SuccessRateGet the education targetGet the education organizationGet the teaching start date.Get the training strategyGet universal adjustmentGet the list of websitesboolean
Determines if thisCourseListContainer
contains child course listboolean
Is apprenticeship openboolean
Returns true if theAbstractProgram
is certifiedboolean
Is certifyingboolean
Is intership openboolean
Is the entry level mandatoryvoid
remove()
Removes thisAmetysObject
from the Ametys tree.void
setContextPath
(String path) Set the parent path for links and breadcrumbMethods 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, isPublishable, setCatalog, setCdmCode, setCode, setPublishable
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, setFirstValidator, setLastContributor, setLastMajorValidationDate, setLastMajorValidator, setLastModified, setLastValidationDate, setLastValidator, setOutgoingReferences, setProposalDate, setTitle, setTitle, setWorkflowId, tag, unlock, untag
Methods inherited from class org.ametys.cms.repository.DefaultContent
addReaction, addReport, clearReports, copyTo, copyTo, copyTo, copyTo, createChild, getChild, getChildren, getCreationDate, getCreator, getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType, getFirstValidationDate, getFirstValidator, getInternalDataHolder, getLanguage, getLastContributor, getLastMajorValidationDate, getLastMajorValidator, getLastModified, getLastValidationDate, getLastValidator, getMixinTypes, getOutgoingReferences, getReactionUsers, getReferencingContents, getReportsCount, getRootAttachments, getSystemPropertyExtensionPoint, getTags, getTitle, getTitle, getTypes, hasChild, hasReferencingContents, removeReaction, searchReferencingContents, setLanguage, setMixinTypes, setReportsCount, setType, setTypes, toSAX
Methods inherited from class org.ametys.plugins.repository.jcr.DefaultAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, addLabel, checkpoint, copyNode, disallowInheritance, getAllLabels, getAllRevisions, getBaseNode, getBaseVersion, getLabels, getLabels, getNode, getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, getRevision, getRevisionTimestamp, getRevisionTimestamp, getUnversionedDataHolder, getVersionHistory, isInheritanceDisallowed, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers, removeLabel, restoreFromLabel, restoreFromNode, restoreFromRevision, switchToLabel, switchToRevision
Methods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getParent, getParentPath, getPath, needsSave, rename, revertChanges, saveChanges
Methods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ametys.plugins.repository.ACLAmetysObject
getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, isInheritanceDisallowed
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.odf.cdmfr.CDMEntity
getCdmCode, getCDMId, getLanguage, setCdmCode
Methods inherited from interface org.ametys.cms.repository.Content
getCreationDate, getCreator, getFirstValidationDate, getFirstValidator, getInternalDataHolder, getLanguage, getLastContributor, getLastMajorValidationDate, getLastMajorValidator, getLastModified, getLastValidationDate, getLastValidator, getMixinTypes, getOutgoingReferences, getReferencingContents, getRootAttachments, getTitle, getTitle, getTypes, hasReferencingContents, searchReferencingContents, setLanguage, setMixinTypes, setType, setTypes, toSAX
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.plugins.repository.dublincore.DublinCoreAwareAmetysObject
getDCContributor, getDCCoverage, getDCCreator, getDCDate, getDCDescription, getDCFormat, getDCIdentifier, getDCLanguage, getDCPublisher, getDCRelation, getDCRights, getDCSource, getDCSubject, getDCTitle, getDCType
Methods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNode
Methods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getComposite, getExternalComposite, getExternalRepeater, getLocalComposite, getLocalRepeater, getParentDataHolder, getRepeater, getRootDataHolder, getSystemPropertyExtensionPoint, indexData, indexData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultiple
Methods inherited from interface org.ametys.plugins.repository.ModifiableACLAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, disallowInheritance, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolder
Methods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolder
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
Methods inherited from interface org.ametys.odf.ProgramItem
getCatalog, getCode, isPublishable, setCatalog, setCode, setPublishable
Methods inherited from interface org.ametys.odf.program.ProgramPart
getProgramPartParents
Methods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTags
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChildAt, getChildPosition
-
Field Details
-
DEGREE
Constants for attribute 'degree'- See Also:
-
CERTIFIED
Constants for attribute 'certified'- See Also:
-
DOMAIN
Constants for attribute 'domain'- See Also:
-
MENTION
Constants for attribute 'mention'- See Also:
-
SPECIALITY
Constants for attribute 'speciality'- See Also:
-
LEVEL
Constants for attribute 'educationLevel'- See Also:
-
DURATION
Constants for attribute 'duration'- See Also:
-
EDUC_LANGUAGE
Constants for attribute 'educationLanguage'- See Also:
-
PRESENTATION
Constants for attribute 'presentation'- See Also:
-
OBJECTIVES
Constants for attribute 'objectives'- See Also:
-
QUALIFICATION
Constants for attribute 'qualification'- See Also:
-
TEACHING_ORGANIZATION
Constants for attribute 'teachingOrganization'- See Also:
-
ALTERNATION_MODALITY
Constants for attribute 'alternationModality'- See Also:
-
ACCESS_CONDITION
Constants for attribute 'accessCondition'- See Also:
-
NEEDED_PREREQUISITE
Constants for attribute 'neededPrerequisite'- See Also:
-
RECOMMENDED_PREREQUISITE
Constants for attribute 'recommendedPrerequisite'- See Also:
-
EXPECTED_RESULTS
Constants for attribute 'expectedResults'- See Also:
-
FURTHER_STUDY
Constants for attribute 'furtherStudy'- See Also:
-
STUDY_ABROAD
Constants for attribute 'studyAbroad'- See Also:
-
TARGET_GROUP
Constants for attribute 'targetGroup'- See Also:
-
JOB_OPPORTUNITIES
Constants for attribute 'jobOpportunities'- See Also:
-
TRAINING_STRATEGY
Constants for attribute 'trainingStrategy'- See Also:
-
KNOWLEDGE_CHECK
Constants for attribute 'knowledgeCheck'- See Also:
-
UNIVERSAL_ADJUSTMENT
Constants for attribute 'universalAdjustment'- See Also:
-
CERTIFYING
Constants for attribute 'certifying'- See Also:
-
EXPENSES
Constants for attribute 'expenses'- See Also:
-
ADDITIONNAL_INFORMATIONS
Constants for attribute 'additionalInformations'- See Also:
-
JOINT_ORGUNIT
Constants for attribute 'jointOrgUnit'- See Also:
-
PLACE
Constants for attribute 'place'- See Also:
-
DISTANCE_LEARNING
Constants for attribute 'distanceLearning'- See Also:
-
EDUCATION_KIND
Constants for attribute 'educationKind'- See Also:
-
FORM_OF_TEACHING_ORG
Constant for attribute 'formofteachingOrg'- See Also:
-
ECTS
Constants for attribute 'ects'- See Also:
-
INTERNSHIP
Constants for attribute 'internship'- See Also:
-
INTERNSHIP_DURATION
Constants for attribute 'internshipDuration'- See Also:
-
INTERNSHIP_ABROAD
Constants for attribute 'internshipAbroad'- See Also:
-
INTERNSHIP_ABROAD_DURATION
Constants for attribute 'internshipAbroadDuration'- See Also:
-
REGISTRATION_START
Constants for attribute 'registrationStart'- See Also:
-
REGISTRATION_DEADLINE
Constants for attribute 'registrationDeadline'- See Also:
-
TEACHING_START
Constants for attribute 'teachingStart'- See Also:
-
REQUIRED_SKILLS
Constants for attribute 'requiredSkills'- See Also:
-
PARTNER_SCHOOLS
Constants for attribute 'partnerSchools'- See Also:
-
PARTNER_SCHOOLS_LINK_URL
Constants for attribute 'partnerSchools/linkUrl'- See Also:
-
PARTNER_SCHOOLS_LINK_LABEL
Constants for attribute 'partnerSchools/linkLabel'- See Also:
-
PARTNER_LABORATORIES
Constants for attribute 'partnerLaboratories'- See Also:
-
PARTNER_LABORATORIES_LINK_URL
Constants for attribute 'partnerLaboratories/linkUrl'- See Also:
-
PARTNER_LABORATORIES_LINK_LABEL
Constants for attribute 'partnerLaboratories/linkLabel'- See Also:
-
RNCP_CODE
Constants for attribute 'rncpCode'- See Also:
-
RNCP_LEVEL
Constants for attribute 'rncpLevel'- See Also:
-
SISE_CODE
Constants for attribute 'siseCode'- See Also:
-
CITE97_CODE
Constants for attribute 'Cite 97'- See Also:
-
ERASMUS_CODE
Constants for attribute 'erasmusCode'- See Also:
-
DGESIP_CODE
Constants for attribute 'erasmusCode'- See Also:
-
FORMACODE
Constants for attribute 'formacode'- See Also:
-
ROME_CODE
Constants for attribute 'romeCode'- See Also:
-
FAP_CODE
Constants for attribute 'fapCode'- See Also:
-
NSF_CODE
Constants for attribute 'nsfCode'- See Also:
-
PROGRAM_WEBSITE
Constants for attribute 'programWebSite'- See Also:
-
PROGRAM_WEBSITE_LABEL
Constants for attribute 'programWebSiteLabel'- See Also:
-
PROGRAM_WEBSITE_URL
Constants for attribute 'programWebSiteUrl'- See Also:
-
ATTACHMENTS
Constants for attribute 'attachments'- See Also:
-
ATTACHMENTS_ATTACHMENT
Constants for attribute 'attachments/attachment'- See Also:
-
ATTACHMENTS_ATTACHMENT_TEXT
Constants for attribute 'attachments/attachment-text'- See Also:
-
NUMBER_OF_STUDENTS
Constants for attribute 'numberOfStudents'- See Also:
-
SUCCESSRATE
Constants for attribute 'successRate'- See Also:
-
REORIENTATION
Constants for attribute 'reorientation'- See Also:
-
KEYWORDS
Constants for attribute 'keywords'- See Also:
-
EDUCATION_ENTRY_LEVEL
Constants for attribute 'educationEntryLevel'- See Also:
-
MANDATORY_ENTRY_LEVEL
Constants for attribute 'mandatoryEntryLevel'- See Also:
-
PROGRAM_FIELD
Constants for attribute 'programField'- See Also:
-
AVAILABLE_CERTIFICATION
Constants for attribute 'availableCertification'- See Also:
-
DISCIPLINES
Constants for attribute 'disciplines'- See Also:
-
SECTORS
Constants for attribute 'sectors'- See Also:
-
INTERNSHIP_OPEN
Constants for attribute 'internshipOpen'- See Also:
-
INTERNSHIP_DESCRIPTION
Constants for attribute 'internshipDescription'- See Also:
-
INTERNSHIP_DESCRIPTION_TITLE
Constants for attribute 'internshipDescription/title'- See Also:
-
INTERNSHIP_DESCRIPTION_DURATION
Constants for attribute 'internshipDescription/duration'- See Also:
-
INTERNSHIP_DESCRIPTION_PERIOD
Constants for attribute 'internshipDescription/period'- See Also:
-
INTERNSHIP_DESCRIPTION_KIND
Constants for attribute 'internshipDescription/kind'- See Also:
-
APPRENTICESHIP_OPEN
Constants for attribute 'apprenticeshipOpen'- See Also:
-
APPRENTICESHIP_PERIOD
Constants for attribute 'apprenticeshipPeriod'- See Also:
-
APPRENTICESHIP_CONTRACT
Constants for attribute 'apprenticeshipContract'- See Also:
-
INTERNATIONAL_EDUCATION
Constants for attribute 'internationalEducation'- See Also:
-
INTERNATIONAL_DIMENSION
Constants for attribute 'internationalDimension'- See Also:
-
GEOCODE
Constants for attribute 'geoCode'- See Also:
-
OTHER_PARTNERS
Constants for attribute 'otherPartners'- See Also:
-
OTHER_CONTACT
Constants for attribute 'otherPartners'- See Also:
-
CAMPUS
Constants for attribute 'campus'- See Also:
-
FOREIGN_PLACE
Constants for attribute 'foreignPlace'- See Also:
-
INSCRIPTION
Constants for attribute 'inscription'- See Also:
-
FURTHER_STUDY_PROGRAMS
Constants for attribute 'furtherStudyPrograms'- See Also:
-
ORG_UNITS_REFERENCES
Constants for attribute 'orgUnits'- See Also:
-
CONTACTS
Constants for attribute 'contacts'- See Also:
-
CONTACTS_ROLE
Constants for attribute 'contacts/role'- See Also:
-
CONTACTS_PERSONS
Constants for attribute 'contacts/persons'- See Also:
-
-
Constructor Details
-
AbstractProgram
Constructor- Parameters:
node
- The JCR nodeparentPath
- The parent pathfactory
- The factory
-
-
Method Details
-
remove
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
Set the parent path for links and breadcrumb- Parameters:
path
- the parent path
-
getContextPath
Get the parent path. Can be null.- Returns:
- the parent path
-
getOrgUnits
Return the list of orgUnits binded to this program- Returns:
- a list of uuid
-
getContacts
Return the list of Persons in charge binded to this program- Returns:
- a list of roles and UUID
-
getContactsByRole
Return the list of Persons in charge binded to this program- Returns:
- a list of roles and UUID
-
isCertified
Returns true if theAbstractProgram
is certified- Returns:
- true if certified
-
getDomain
Get the domain- Returns:
- the domain or an empty array
-
getPresentation
Get the education presentation- Returns:
- the education presentation or null if not set
-
getObjectives
Get the education objectives- Returns:
- the education objectives or null if not set
-
getQualification
Get the education qualification- Returns:
- the education qualification or null if not set
-
getTeachingOrganization
Get the education organization- Returns:
- the education organization or null if not set
-
getAlternationModality
Get the alternation modality- Returns:
- the alternation modality or null if not set
-
getAccessCondition
Get the access conditions- Returns:
- the access conditions or null if not set
-
getNeededPrerequisite
Get the education requirements- Returns:
- the education requirements or null if not set
-
getRecommendedPrerequisite
Get the education recommended prerequisite- Returns:
- the education recommended prerequisite or null if not set
-
getExpectedResults
Get the education expected results- Returns:
- the education expected results or null if not set
-
getFurtherStudy
Get the education further study- Returns:
- the education further study or null if not set
-
getStudyAbroad
Get the education study abroard- Returns:
- the education study abroard or null if not set
-
getTargetGroup
Get the education target- Returns:
- the education target or null if not set
-
getJobOpportunities
Get the job opportunities- Returns:
- the job opportunities or null if not set
-
getTrainingStrategy
Get the training strategy- Returns:
- the training strategy or null if not set
-
getKnowledgeCheck
Get acknowledgments- Returns:
- acknowledgments or null if not set
-
getUniversalAdjustment
Get universal adjustment- Returns:
- universal adjustment or null if not set
-
isCertifying
Is certifying- Returns:
true
if the progam is certifying
-
getAdditionalInformations
Get the additional informations- Returns:
- the additional informations or null if not set
-
getEducationLevel
Get the education level- Returns:
- the education level or null
-
getRncpCode
Get the RNCP code- Returns:
- the RNCP code
-
getRncpLevel
Get the RNCP level- Returns:
- the RNCP level
-
getSiseCode
Get the SISE code- Returns:
- the SISE code
-
getCite97Code
Get the CITE97 code- Returns:
- the CITE97 code
-
getDGESIPCode
Get the DGESIP code- Returns:
- the DGESIP code
-
getErasmusCode
Get the Erasmus code- Returns:
- the Erasmus code
-
getFORMACODE
Get the FORMACODE- Returns:
- the FORMACODE
-
getRomeCode
Get the ROME code- Returns:
- the ROME code
-
getFapCode
Get the FAP code- Returns:
- the FAP code
-
getNSFCode
Get the NSF code- Returns:
- the NSF code
-
getMention
Get the mention- Returns:
- the mention or null
-
getSpeciality
Get the speciality- Returns:
- the speciality or null
-
getJointOrgUnit
Get the org units- Returns:
- the org units
-
getPlace
Get the places- Returns:
- the places as an Array of String
-
getWebsiteLinks
Get the list of websites- Returns:
- the list of website or an empty list
-
getEcts
Get the ECTS credits- Returns:
- the ECTS credits
-
getEducationKind
Get the kind of education- Returns:
- the kind of education or null
-
getDuration
Get the duration- Returns:
- the duration
-
getEducationLanguage
Get the education languages- Returns:
- the education languages
-
getEffectives
Get the effectives- Returns:
- the effectives
-
getSuccessRate
Get the SuccessRate- Returns:
- the SuccessRate
-
getExpenses
Get the expenses- Returns:
- the expenses
-
getFormOfTeachingOrgs
Get the form of teaching organization- Returns:
- the form of teaching organization
-
getReorientation
Get the REORIENTATION- Returns:
- RichText
-
getDistanceLearning
Get the distance learning- Returns:
- the distance learning or null
-
getInternship
Get the internship- Returns:
- the internship or null
-
getInternshipDuration
Get the internship duration- Returns:
- the internship duration or null
-
getInternshipAbroad
Get the internship abroad- Returns:
- the internship abroad or null
-
getAbroadInternshipDuration
Get the internship abroad duration- Returns:
- the internship abroad duration or null
-
getRegistrationStart
Get the registration start date.- Returns:
- The registration start date, can be null.
-
getRegistrationDeadline
Get the registration deadline date.- Returns:
- The registration deadline date, can be null.
-
getTeachingStart
Get the teaching start date.- Returns:
- The teaching start date, can be null.
-
getKeywords
Get the keywords- Returns:
- the keywords
-
getEducationLevelEntry
Get the education level entry- Returns:
- the education level entry
-
isMandatoryEntryLevel
Is the entry level mandatory- Returns:
true
if the entry level is mandatory
-
getProgramField
Get the program fields- Returns:
- the program fields
-
getAvailableCertification
Get the available certifications- Returns:
- the available certifications
-
getDisciplines
Get the disciplines- Returns:
- the disciplines
-
getRequiredSkills
Get the required skills- Returns:
- the required skills
-
getSectors
Get the sectors- Returns:
- the sectors
-
isInternshipOpen
Is intership open- Returns:
true
if internship is open
-
isApprenticeshipOpen
Is apprenticeship open- Returns:
true
if apprenticeship is open
-
getApprenticeshipPeriod
Get the apprenticeship period description- Returns:
- the apprenticeship period
-
getApprenticeshipContract
Get the available apprenticeship contracts- Returns:
- the apprenticeship contracts
-
getInternationalEducation
Get the international education- Returns:
- the international education
-
getInternationalDimension
Get the international dimension- Returns:
- the international dimension
-
getGeocode
Get the geocode latitude and longitude- Returns:
- the geocode
-
getOtherPartners
Get the other partners- Returns:
- the other partners
-
getCampus
Get the campus- Returns:
- the campus
-
getForeignPlace
Get the foreign places- Returns:
- the foreign places
-
getInscription
Get the inscription- Returns:
- the inscription
-
getFurtherStudyPrograms
Get the further study programs- Returns:
- the further study programs
-
getCourseLists
Description copied from interface:CourseListContainer
Returns the child course lists- Specified by:
getCourseLists
in interfaceCourseListContainer
- Returns:
- the child course lists
-
containsCourseList
Description copied from interface:CourseListContainer
Determines if thisCourseListContainer
contains the given course list as child- Specified by:
containsCourseList
in interfaceCourseListContainer
- Parameters:
clId
- id of theCourseList
to test- Returns:
- true if the course list is part of this
CourseListContainer
-
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
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
Returns the surrounding tag name in the CDM-fr representation.- Returns:
- the surrounding tag name
-