com.wewebu.ow.server.dmsdialogs.views
Class OwStandardBatchPropertiesHandler

java.lang.Object
  extended by com.wewebu.ow.server.dmsdialogs.views.OwStandardBatchPropertiesHandler
All Implemented Interfaces:
OwBatchPropertiesHandler

public class OwStandardBatchPropertiesHandler
extends Object
implements OwBatchPropertiesHandler

Provide support for batch operations.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.1.0.0

Field Summary
protected static String BATCH_INDEX_PROPERTIES_ATTRIBTUE_BAG_NAME
          attribute bag name for the saved batch index properties stored in the document
protected  Collection m_batchIndexProperties
          contains the properties for batch-Import, set in owplugins.xml ==>
protected  OwDocument m_document
          the document
protected  OwPropertyCollection m_properties
          properties from the object
 
Constructor Summary
OwStandardBatchPropertiesHandler(OwDocument document_p)
          Constructor.
 
Method Summary
 void clearBatchIndex()
          Clear stored batch index data
 void onBatchIndex()
          called by the client when the indexes should be set from the previous values as defined with setBatchProperties
 void saveBatchIndexProperties()
          Save current properties for next object.
 void setBatchIndexProperties(Collection batchIndexProperties_p)
          Set names for properties that are copied from one document to another.
 void setProperties(OwPropertyCollection properties_p)
          Set the current properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_batchIndexProperties

protected Collection m_batchIndexProperties
contains the properties for batch-Import, set in owplugins.xml ==>


m_document

protected OwDocument m_document
the document


m_properties

protected OwPropertyCollection m_properties
properties from the object


BATCH_INDEX_PROPERTIES_ATTRIBTUE_BAG_NAME

protected static final String BATCH_INDEX_PROPERTIES_ATTRIBTUE_BAG_NAME
attribute bag name for the saved batch index properties stored in the document

See Also:
Constant Field Values
Constructor Detail

OwStandardBatchPropertiesHandler

public OwStandardBatchPropertiesHandler(OwDocument document_p)
Constructor.

Parameters:
document_p - - the OwDocument object
Method Detail

setBatchIndexProperties

public void setBatchIndexProperties(Collection batchIndexProperties_p)
Description copied from interface: OwBatchPropertiesHandler
Set names for properties that are copied from one document to another.

Specified by:
setBatchIndexProperties in interface OwBatchPropertiesHandler

saveBatchIndexProperties

public void saveBatchIndexProperties()
                              throws Exception
Description copied from interface: OwBatchPropertiesHandler
Save current properties for next object.

Specified by:
saveBatchIndexProperties in interface OwBatchPropertiesHandler
Throws:
Exception

clearBatchIndex

public void clearBatchIndex()
                     throws OwInvalidOperationException
Description copied from interface: OwBatchPropertiesHandler
Clear stored batch index data

Specified by:
clearBatchIndex in interface OwBatchPropertiesHandler
Throws:
OwInvalidOperationException

onBatchIndex

public void onBatchIndex()
                  throws Exception
Description copied from interface: OwBatchPropertiesHandler
called by the client when the indexes should be set from the previous values as defined with setBatchProperties

Specified by:
onBatchIndex in interface OwBatchPropertiesHandler
Throws:
Exception

setProperties

public void setProperties(OwPropertyCollection properties_p)
Description copied from interface: OwBatchPropertiesHandler
Set the current properties.

Specified by:
setProperties in interface OwBatchPropertiesHandler
Parameters:
properties_p - - the properties.


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.