|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.avm.AvmMetadataExtracter
public class AvmMetadataExtracter
A component that listens for changes to the content
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Field Summary |
---|
Fields inherited from interface org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Constructor Summary | |
---|---|
AvmMetadataExtracter()
|
Method Summary | |
---|---|
void |
init()
Registers the policy behaviour methods |
void |
onContentUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean newContent)
When the content changes, the metadata is extracted. |
void |
setExtracterAction(ContentMetadataExtracter extracterAction)
|
void |
setPolicyComponent(PolicyComponent policyComponent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvmMetadataExtracter()
Method Detail |
---|
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent
- used for registrationspublic void setExtracterAction(ContentMetadataExtracter extracterAction)
extracterAction
- the action that will perform the actual extractionpublic void init()
public void onContentUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean newContent)
onContentUpdate
in interface ContentServicePolicies.OnContentUpdatePolicy
nodeRef
- the node reference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |