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
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OwStandardBatchPropertiesHandler(OwDocument document_p)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected Collection m_batchIndexProperties
protected OwDocument m_document
protected OwPropertyCollection m_properties
protected static final String BATCH_INDEX_PROPERTIES_ATTRIBTUE_BAG_NAME
public OwStandardBatchPropertiesHandler(OwDocument document_p)
document_p
- - the OwDocument
objectpublic void setBatchIndexProperties(Collection batchIndexProperties_p)
OwBatchPropertiesHandler
setBatchIndexProperties
in interface OwBatchPropertiesHandler
public void saveBatchIndexProperties() throws Exception
OwBatchPropertiesHandler
saveBatchIndexProperties
in interface OwBatchPropertiesHandler
Exception
public void clearBatchIndex() throws OwInvalidOperationException
OwBatchPropertiesHandler
clearBatchIndex
in interface OwBatchPropertiesHandler
OwInvalidOperationException
public void onBatchIndex() throws Exception
OwBatchPropertiesHandler
onBatchIndex
in interface OwBatchPropertiesHandler
Exception
public void setProperties(OwPropertyCollection properties_p)
OwBatchPropertiesHandler
setProperties
in interface OwBatchPropertiesHandler
properties_p
- - the properties.Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.