Package org.alfresco.repo.importer
Class ImportTimerProgress
- java.lang.Object
-
- org.alfresco.repo.importer.ImportTimerProgress
-
- All Implemented Interfaces:
ImporterProgress
public class ImportTimerProgress extends Object implements ImporterProgress
Import Progress that provides import metrics.- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description ImportTimerProgress()ConstructImportTimerProgress(org.apache.commons.logging.Log logger)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaspectAdded(NodeRef nodeRef, QName aspect)Report addition of an aspectvoidcompleted()voidcontentCreated(NodeRef nodeRef, String sourceUrl)Report creation of contentvoiderror(Throwable e)voidnodeCreated(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)Report creation of a node.voidnodeLinked(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)Report creation of a node link.voidpermissionSet(NodeRef nodeRef, AccessPermission permission)Report setting of a permissionvoidpropertySet(NodeRef nodeRef, QName property, Serializable value)Report setting of a propertyvoidstarted()
-
-
-
Method Detail
-
started
public void started()
- Specified by:
startedin interfaceImporterProgress
-
completed
public void completed()
- Specified by:
completedin interfaceImporterProgress
-
error
public void error(Throwable e)
- Specified by:
errorin interfaceImporterProgress
-
nodeCreated
public void nodeCreated(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)
Description copied from interface:ImporterProgressReport creation of a node.- Specified by:
nodeCreatedin interfaceImporterProgress- Parameters:
nodeRef- the node refparentRef- the parent refassocName- the child association type namechildName- the child association name
-
nodeLinked
public void nodeLinked(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)
Description copied from interface:ImporterProgressReport creation of a node link.- Specified by:
nodeLinkedin interfaceImporterProgress- Parameters:
nodeRef- the node refparentRef- the parent refassocName- the child association type namechildName- the child association name
-
contentCreated
public void contentCreated(NodeRef nodeRef, String sourceUrl)
Description copied from interface:ImporterProgressReport creation of content- Specified by:
contentCreatedin interfaceImporterProgress- Parameters:
nodeRef- the node refsourceUrl- the source location of the content
-
propertySet
public void propertySet(NodeRef nodeRef, QName property, Serializable value)
Description copied from interface:ImporterProgressReport setting of a property- Specified by:
propertySetin interfaceImporterProgress- Parameters:
nodeRef- the node refproperty- the property namevalue- the property value
-
permissionSet
public void permissionSet(NodeRef nodeRef, AccessPermission permission)
Description copied from interface:ImporterProgressReport setting of a permission- Specified by:
permissionSetin interfaceImporterProgress- Parameters:
nodeRef- the node refpermission- the permission
-
aspectAdded
public void aspectAdded(NodeRef nodeRef, QName aspect)
Description copied from interface:ImporterProgressReport addition of an aspect- Specified by:
aspectAddedin interfaceImporterProgress- Parameters:
nodeRef- the node refaspect- the aspect
-
-