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
_getRootOrgUnitRNE
_getContentTypeExtensionPoint, createChild, getChild, getChildren, hasChild
getCurrentUser, getWorkspaceNode
configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForId
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public 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
JCRAmetysObjectFactory
AmetysObject
from a persistent JCR node.getAmetysObject
in interface JCRAmetysObjectFactory<SimpleAmetysObject>
getAmetysObject
in class ProgramFactory
node
- 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.