Package org.nuxeo.ecm.core.bulk
Class BulkActionDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.bulk.BulkActionDescriptor
-
- All Implemented Interfaces:
Descriptor
public class BulkActionDescriptor extends Object implements Descriptor
- Since:
- 10.2
-
-
Field Summary
Fields Modifier and Type Field Description IntegerbatchSizeIntegerbucketSizestatic IntegerDEFAULT_BATCH_SIZEstatic IntegerDEFAULT_BUCKET_SIZELongdefaultQueryLimitStringdefaultScrollerBooleanhttpEnabledStringinputStreamprotected booleanisEnabledStringnameBooleansequentialCommandsClass<? extends BulkActionValidation>validationClass-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description BulkActionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetBatchSize()IntegergetBucketSize()LonggetDefaultQueryLimit()StringgetDefaultScroller()StringgetId()The descriptor id, descriptors with same id are merged.StringgetInputStream()booleanisEnabled()BulkActionValidationnewValidationInstance()voidsetEnabled(boolean isEnabled)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Field Detail
-
DEFAULT_BUCKET_SIZE
public static final Integer DEFAULT_BUCKET_SIZE
-
DEFAULT_BATCH_SIZE
public static final Integer DEFAULT_BATCH_SIZE
-
isEnabled
protected boolean isEnabled
-
inputStream
public String inputStream
-
bucketSize
public Integer bucketSize
-
httpEnabled
public Boolean httpEnabled
-
sequentialCommands
public Boolean sequentialCommands
-
validationClass
public Class<? extends BulkActionValidation> validationClass
-
defaultScroller
public String defaultScroller
-
defaultQueryLimit
public Long defaultQueryLimit
-
-
Constructor Detail
-
BulkActionDescriptor
public BulkActionDescriptor()
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
getBucketSize
public Integer getBucketSize()
-
getBatchSize
public Integer getBatchSize()
-
getDefaultQueryLimit
public Long getDefaultQueryLimit()
-
newValidationInstance
public BulkActionValidation newValidationInstance()
- Since:
- 10.10
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean isEnabled)
-
getDefaultScroller
public String getDefaultScroller()
-
getInputStream
public String getInputStream()
-
-