Class CMSVersionGCProcessModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSVersionGCProcessModel
    extends BusinessProcessModel
    Generated model class for type CMSVersionGCProcess first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • MAXAGEDAYS

        public static final java.lang.String MAXAGEDAYS
        Generated constant - Attribute key of CMSVersionGCProcess.maxAgeDays attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • MAXNUMBERVERSIONS

        public static final java.lang.String MAXNUMBERVERSIONS
        Generated constant - Attribute key of CMSVersionGCProcess.maxNumberVersions attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • RETAINABLEVERSIONS

        public static final java.lang.String RETAINABLEVERSIONS
        Generated constant - Attribute key of CMSVersionGCProcess.retainableVersions attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSVersionGCProcessModel

        public CMSVersionGCProcessModel()
        Generated constructor - Default constructor for generic creation.
      • CMSVersionGCProcessModel

        public CMSVersionGCProcessModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CMSVersionGCProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSVersionGCProcessModel​(java.lang.String _code,
                                        java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
      • CMSVersionGCProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSVersionGCProcessModel​(java.lang.String _code,
                                        ItemModel _owner,
                                        java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _owner - initial attribute declared by type Item at extension core
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
    • Method Detail

      • getMaxAgeDays

        @Accessor(qualifier="maxAgeDays",
                  type=GETTER)
        public java.lang.Integer getMaxAgeDays()
        Generated method - Getter of the CMSVersionGCProcess.maxAgeDays attribute defined at extension cms2.
        Returns:
        the maxAgeDays - The maximum age in days before a cms version is removed
      • getMaxNumberVersions

        @Accessor(qualifier="maxNumberVersions",
                  type=GETTER)
        public java.lang.Integer getMaxNumberVersions()
        Generated method - Getter of the CMSVersionGCProcess.maxNumberVersions attribute defined at extension cms2.
        Returns:
        the maxNumberVersions - The maximum number of versions to keep for an item
      • getRetainableVersions

        @Accessor(qualifier="retainableVersions",
                  type=GETTER)
        public java.util.Set<CMSVersionModel> getRetainableVersions()
        Generated method - Getter of the CMSVersionGCProcess.retainableVersions attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the retainableVersions
      • setMaxAgeDays

        @Accessor(qualifier="maxAgeDays",
                  type=SETTER)
        public void setMaxAgeDays​(java.lang.Integer value)
        Generated method - Setter of CMSVersionGCProcess.maxAgeDays attribute defined at extension cms2.
        Parameters:
        value - the maxAgeDays - The maximum age in days before a cms version is removed
      • setMaxNumberVersions

        @Accessor(qualifier="maxNumberVersions",
                  type=SETTER)
        public void setMaxNumberVersions​(java.lang.Integer value)
        Generated method - Setter of CMSVersionGCProcess.maxNumberVersions attribute defined at extension cms2.
        Parameters:
        value - the maxNumberVersions - The maximum number of versions to keep for an item
      • setRetainableVersions

        @Accessor(qualifier="retainableVersions",
                  type=SETTER)
        public void setRetainableVersions​(java.util.Set<CMSVersionModel> value)
        Generated method - Setter of CMSVersionGCProcess.retainableVersions attribute defined at extension cms2.
        Parameters:
        value - the retainableVersions