Package org.nuxeo.ecm.core.versioning
Interface ExtendableVersioningService
-
- All Superinterfaces:
VersioningService
,VersioningService
- All Known Implementing Classes:
CompatVersioningService
,StandardVersioningService
public interface ExtendableVersioningService extends VersioningService
Class implementing this interface will be able to use contribution from the versioningRules extension point.- Since:
- 5.4.2
- Author:
- Laurent Doguin
-
-
Field Summary
-
Fields inherited from interface org.nuxeo.ecm.core.api.versioning.VersioningService
CHECKIN_COMMENT, DISABLE_AUTO_CHECKOUT, DISABLE_AUTOMATIC_VERSIONING, MAJOR_VERSION_PROP, MINOR_VERSION_PROP, SKIP_VERSIONING, VERSIONING_OPTION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<String,VersioningRuleDescriptor>
getVersioningRules()
Deprecated.since 9.1, use policy and filter contributions insteadvoid
setDefaultVersioningRule(DefaultVersioningRuleDescriptor defaultVersioningRule)
Deprecated.since 9.1, use policy and filter contributions insteadvoid
setVersioningFilters(Map<String,VersioningFilterDescriptor> versioningFilters)
Add versioning filtersvoid
setVersioningPolicies(Map<String,VersioningPolicyDescriptor> versioningPolicies)
Add versioning policiesvoid
setVersioningRestrictions(Map<String,VersioningRestrictionDescriptor> versioningRestrictions)
Add versioning filtersvoid
setVersioningRules(Map<String,VersioningRuleDescriptor> versioningRules)
Deprecated.since 9.1, use policy and filter contributions instead-
Methods inherited from interface org.nuxeo.ecm.core.api.versioning.VersioningService
doAutomaticVersioning, doCheckIn, doCheckOut, doPostCreate, doPostSave, doPreSave, getSaveOptions, getVersionLabel, isPostSaveDoingCheckIn, isPreSaveDoingCheckOut
-
-
-
-
Method Detail
-
getVersioningRules
@Deprecated Map<String,VersioningRuleDescriptor> getVersioningRules()
Deprecated.since 9.1, use policy and filter contributions instead- Returns:
- A Map containing the versioning rule for specific types.
-
setVersioningRules
@Deprecated void setVersioningRules(Map<String,VersioningRuleDescriptor> versioningRules)
Deprecated.since 9.1, use policy and filter contributions insteadAdd versioning rules for specific types.
-
setDefaultVersioningRule
@Deprecated void setDefaultVersioningRule(DefaultVersioningRuleDescriptor defaultVersioningRule)
Deprecated.since 9.1, use policy and filter contributions insteadSet the default versioning rule for all document type.
-
setVersioningPolicies
void setVersioningPolicies(Map<String,VersioningPolicyDescriptor> versioningPolicies)
Add versioning policies- Since:
- 9.1
-
setVersioningFilters
void setVersioningFilters(Map<String,VersioningFilterDescriptor> versioningFilters)
Add versioning filters- Since:
- 9.1
-
setVersioningRestrictions
void setVersioningRestrictions(Map<String,VersioningRestrictionDescriptor> versioningRestrictions)
Add versioning filters- Parameters:
versioningRestrictions
- the restrictions to apply in versioning system- Since:
- 9.1
-
-