public class CenteraNodePropertyWriter extends AbstractCenteraFPClipWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
Centera_PROP_APP_NAME |
static String |
Centera_PROP_APP_VENDOR |
static String |
Centera_PROP_APP_VERSION |
static String |
Centera_PROP_GLOBAL_PROPERTIES |
static String |
Centera_PROP_NODE_PATH |
static org.alfresco.service.namespace.QName |
Centera_PROP_NODE_PATH_QNAME |
static String |
Centera_PROP_NODE_PROPERTIES |
static String |
Centera_PROP_NODE_REF |
| Constructor and Description |
|---|
CenteraNodePropertyWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
fpClipClosed(org.alfresco.service.cmr.repository.NodeRef nodeRef,
com.filepool.fplibrary.FPClip fpClip,
String clipID)
No-op.
|
void |
fpClipCreated(org.alfresco.service.cmr.repository.NodeRef nodeRef,
com.filepool.fplibrary.FPClip clip)
Starts with previously-calculated global properties and adds node-specific, contextual
properties to the FPClip.
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
After properties have been set, global values and static values are extracted to prevent
repeated work during FPClip modification.
|
void |
setDescriptorService(org.alfresco.service.descriptor.DescriptorService descriptorService) |
void |
setGlobalProperties(Properties globalProperties) |
void |
setGlobalPropertiesPrefix(String globalPropertiesPrefix)
Set the field name prefix that will be prepended to global property fields.
|
void |
setGlobalPropertiesToWrite(String globalPropsCommaSeparated)
Set the global properties that should be copied to the FPClip
e.g.
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodePropertiesPrefix(String nodePropertiesPrefix)
Set the field name prefix that will be prepended to node property fields.
|
void |
setNodePropertiesToWrite(String nodePropsCommaSeparated)
Set the in-context node properties that should be copied to the FPClip
e.g.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
onShutdown, setCenteraContentStorepublic static final String Centera_PROP_GLOBAL_PROPERTIES
public static final String Centera_PROP_NODE_PROPERTIES
public static final String Centera_PROP_APP_VENDOR
public static final String Centera_PROP_APP_NAME
public static final String Centera_PROP_APP_VERSION
public static final String Centera_PROP_NODE_REF
public static final String Centera_PROP_NODE_PATH
public static final org.alfresco.service.namespace.QName Centera_PROP_NODE_PATH_QNAME
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setDescriptorService(org.alfresco.service.descriptor.DescriptorService descriptorService)
public void setGlobalProperties(Properties globalProperties)
globalProperties - the Alfresco global properties including overridespublic void setGlobalPropertiesPrefix(String globalPropertiesPrefix)
Property: centera.archive.app.db
Prefix: vnd.com.alfresco.
Result: vnd.com.alfresco.centera.archive.app.db
globalPropertiesPrefix - a string prefix that will be prepended to global propertiespublic void setGlobalPropertiesToWrite(String globalPropsCommaSeparated)
centera.archive.app.vendor, centera.archive.app.name, centera.archive.app.version
globalPropsCommaSeparated - a comma-separated list of global properties to write to the FPClippublic void setNodePropertiesToWrite(String nodePropsCommaSeparated)
cm:name, cm:created, cm:creator, cm:owner
globalPropsCommaSeparated - a comma-separated list of node properties to write to the FPClippublic void setNodePropertiesPrefix(String nodePropertiesPrefix)
Property: cm:name
Prefix: vnd.com.alfresco.node.
Result: vnd.com.alfresco.centera.archive.node.cm:name
nodePropertiesPrefix - a string prefix that will be prepended to node propertiesprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class AbstractCenteraFPClipWriterpublic void fpClipCreated(org.alfresco.service.cmr.repository.NodeRef nodeRef,
com.filepool.fplibrary.FPClip clip)
throws com.filepool.fplibrary.FPLibraryException
fpClipCreated in interface CenteraContentStore.CenteraFPClipWriterfpClipCreated in class AbstractCenteraFPClipWriternodeRef - Node referenceclip - FPClipcom.filepool.fplibrary.FPLibraryExceptionpublic void fpClipClosed(org.alfresco.service.cmr.repository.NodeRef nodeRef,
com.filepool.fplibrary.FPClip fpClip,
String clipID)
throws com.filepool.fplibrary.FPLibraryException
AbstractCenteraFPClipWriterfpClipClosed in interface CenteraContentStore.CenteraFPClipWriterfpClipClosed in class AbstractCenteraFPClipWriternodeRef - Node referencefpClip - FPClipclipID - FPClip IDcom.filepool.fplibrary.FPLibraryExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.