org.alfresco.repo.transfer.requisite
Class DeltaListRequsiteProcessor

java.lang.Object
  extended by org.alfresco.repo.transfer.requisite.DeltaListRequsiteProcessor
All Implemented Interfaces:
TransferRequsiteProcessor

public class DeltaListRequsiteProcessor
extends java.lang.Object
implements TransferRequsiteProcessor

A processor of the XML Transfer Requsite file to populate a DeltaList object The requsite is parsed once and the delta list is available from getDeltaList at the end.


Constructor Summary
DeltaListRequsiteProcessor()
           
 
Method Summary
 void endTransferRequsite()
          Called at the end of a transfer requsite
 DeltaList getDeltaList()
          Get the delta list
 void missingContent(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.namespace.QName qname, java.lang.String name)
          Called when a missing content property is found
 void startTransferRequsite()
          Called at the start of a transfer requsite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaListRequsiteProcessor

public DeltaListRequsiteProcessor()
Method Detail

missingContent

public void missingContent(org.alfresco.service.cmr.repository.NodeRef node,
                           org.alfresco.service.namespace.QName qname,
                           java.lang.String name)
Description copied from interface: TransferRequsiteProcessor
Called when a missing content property is found

Specified by:
missingContent in interface TransferRequsiteProcessor

startTransferRequsite

public void startTransferRequsite()
Description copied from interface: TransferRequsiteProcessor
Called at the start of a transfer requsite

Specified by:
startTransferRequsite in interface TransferRequsiteProcessor

endTransferRequsite

public void endTransferRequsite()
Description copied from interface: TransferRequsiteProcessor
Called at the end of a transfer requsite

Specified by:
endTransferRequsite in interface TransferRequsiteProcessor

getDeltaList

public DeltaList getDeltaList()
Get the delta list

Returns:
the delta list or null if the XML provided does not contain the data.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.