Class CleanUpCronJobModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CleanUpCronJobModel
    extends CronJobModel
    Generated model class for type CleanUpCronJob first defined at extension processing.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String XDAYSOLD
        Generated constant - Attribute key of CleanUpCronJob.xDaysOld attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXCLUDECRONJOBS

        public static final java.lang.String EXCLUDECRONJOBS
        Generated constant - Attribute key of CleanUpCronJob.excludeCronJobs attribute defined at extension processing.
        See Also:
        Constant Field Values
      • RESULTCOLL

        public static final java.lang.String RESULTCOLL
        Generated constant - Attribute key of CleanUpCronJob.resultcoll attribute defined at extension processing.
        See Also:
        Constant Field Values
      • STATUSCOLL

        public static final java.lang.String STATUSCOLL
        Generated constant - Attribute key of CleanUpCronJob.statuscoll attribute defined at extension processing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CleanUpCronJobModel

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

        public CleanUpCronJobModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CleanUpCronJobModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CleanUpCronJobModel​(JobModel _job)
        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:
        _job - initial attribute declared by type CronJob at extension processing
      • CleanUpCronJobModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CleanUpCronJobModel​(JobModel _job,
                                   ItemModel _owner)
        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:
        _job - initial attribute declared by type CronJob at extension processing
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getExcludeCronJobs

        @Accessor(qualifier="excludeCronJobs",
                  type=GETTER)
        public java.util.List<CronJobModel> getExcludeCronJobs()
        Generated method - Getter of the CleanUpCronJob.excludeCronJobs attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the excludeCronJobs - A List of CronJobs which should never be deleted by this clean up job
      • getResultcoll

        @Accessor(qualifier="resultcoll",
                  type=GETTER)
        public java.util.Collection<CronJobResult> getResultcoll()
        Generated method - Getter of the CleanUpCronJob.resultcoll attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the resultcoll - Filter: only cronjobs with this Result will be deleted
      • getStatuscoll

        @Accessor(qualifier="statuscoll",
                  type=GETTER)
        public java.util.Collection<CronJobStatus> getStatuscoll()
        Generated method - Getter of the CleanUpCronJob.statuscoll attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the statuscoll - Filter: only cronjobs with this status will be deleted
      • getXDaysOld

        @Accessor(qualifier="xDaysOld",
                  type=GETTER)
        public int getXDaysOld()
        Generated method - Getter of the CleanUpCronJob.xDaysOld attribute defined at extension processing.
        Returns:
        the xDaysOld - All CronJobs (CronJobModels) older than this value in days will be removed
      • setExcludeCronJobs

        @Accessor(qualifier="excludeCronJobs",
                  type=SETTER)
        public void setExcludeCronJobs​(java.util.List<CronJobModel> value)
        Generated method - Setter of CleanUpCronJob.excludeCronJobs attribute defined at extension processing.
        Parameters:
        value - the excludeCronJobs - A List of CronJobs which should never be deleted by this clean up job
      • setResultcoll

        @Accessor(qualifier="resultcoll",
                  type=SETTER)
        public void setResultcoll​(java.util.Collection<CronJobResult> value)
        Generated method - Setter of CleanUpCronJob.resultcoll attribute defined at extension processing.
        Parameters:
        value - the resultcoll - Filter: only cronjobs with this Result will be deleted
      • setStatuscoll

        @Accessor(qualifier="statuscoll",
                  type=SETTER)
        public void setStatuscoll​(java.util.Collection<CronJobStatus> value)
        Generated method - Setter of CleanUpCronJob.statuscoll attribute defined at extension processing.
        Parameters:
        value - the statuscoll - Filter: only cronjobs with this status will be deleted
      • setXDaysOld

        @Accessor(qualifier="xDaysOld",
                  type=SETTER)
        public void setXDaysOld​(int value)
        Generated method - Setter of CleanUpCronJob.xDaysOld attribute defined at extension processing.
        Parameters:
        value - the xDaysOld - All CronJobs (CronJobModels) older than this value in days will be removed