Package org.nuxeo.ecm.core.versioning
Class VersioningRestrictionDescriptor
java.lang.Object
org.nuxeo.ecm.core.versioning.VersioningRestrictionDescriptor
- All Implemented Interfaces:
- Descriptor
Descriptor to contribute new restrictions in versioning system.
 
 These contributions will restrict available increment options on UI and raise an exception when saving a
 DocumentModel with an excluded VersioningOption.
- Since:
- 9.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Map<String, VersioningRestrictionOptionsDescriptor> protected StringFields inherited from interface org.nuxeo.runtime.model.DescriptorUNIQUE_DESCRIPTOR_ID
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.DescriptordoesRemove, merge
- 
Field Details- 
type
- 
options
 
- 
- 
Constructor Details- 
VersioningRestrictionDescriptorpublic VersioningRestrictionDescriptor()
 
- 
- 
Method Details- 
getIdDescription 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 interface- Descriptor
 
- 
getType
- 
getRestrictionOption
 
-