public class SubProgramFactory extends ProgramFactory
SubProgramFactory for handling Program| Modifier and Type | Field and Description |
|---|---|
static String |
SUBPROGRAM_CONTENT_TYPE
Program content type |
static String |
SUBPROGRAM_NODETYPE
Program nodetype for resources collection |
PROGRAM_CONTENT_TYPE, PROGRAM_NODETYPE_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description |
|---|
SubProgramFactory() |
| Modifier and Type | Method and Description |
|---|---|
SubProgram |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
_getCatalogEnumerationHelper, _getExportCDMfrManager, _getResolver, _getSynchronizedMetadata, _getWorkflowProvider, createChild, getChild, getChildren, hasChild, recreateContentWorkflow, service_getRootOrgUnitRNEcreateChild, getChild, getChildren, hasChildgetCurrentUser, getWorkspaceNodeconfigure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForIdenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String SUBPROGRAM_NODETYPE
Program nodetype for resources collectionpublic static final String SUBPROGRAM_CONTENT_TYPE
Program content typepublic SubProgramFactory()
public SubProgram getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class ProgramFactorynode - 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.