public class CourseListFactory extends ProgramPartFactory
| Modifier and Type | Field and Description |
|---|---|
private ExportCDMfrManager |
_exportCDMfrManager |
private ExternalizableMetadataProviderExtensionPoint |
_extMetadataProviderEP |
static String |
COURSE_LIST_CONTENT_TYPE
Program content type |
static String |
COURSE_LIST_NODETYPE
CourseList nodetype for resources collection |
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description |
|---|
CourseListFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) ExportCDMfrManager |
_getExportCDMfrManager() |
(package private) AmetysObjectResolver |
_getResolver() |
(package private) Set<String> |
_getSynchronizedMetadata(CourseList courseList) |
CourseList |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
String |
getScheme()
Returns the protocol of this factory, used to construct unique ids.
|
void |
service(ServiceManager manager) |
_getContentTypeExtensionPoint, createChild, getChild, getChildren, hasChildgetCurrentUser, getWorkspaceNodeconfigure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, hasAmetysObjectForIdenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String COURSE_LIST_CONTENT_TYPE
Program content typepublic static final String COURSE_LIST_NODETYPE
CourseList nodetype for resources collectionprivate ExportCDMfrManager _exportCDMfrManager
private ExternalizableMetadataProviderExtensionPoint _extMetadataProviderEP
public CourseListFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class ProgramPartFactoryServiceExceptionpublic CourseList getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class ModifiableContentFactorynode - the JCR node to use.parentPath - the parent Path in the Ametys hierarchy,
may be null if not known yet.AmetysRepositoryException - if an error occurs.public String getScheme()
AmetysObjectFactorygetScheme in interface AmetysObjectFactory<SimpleAmetysObject>getScheme in class SimpleAmetysObjectFactoryExportCDMfrManager _getExportCDMfrManager()
AmetysObjectResolver _getResolver()
Set<String> _getSynchronizedMetadata(CourseList courseList)