Class CleanUpCronJobModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • XDAYSOLD

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

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

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

      public static final String STATUSCOLL
      Generated constant - Attribute key of CleanUpCronJob.statuscoll attribute defined at extension processing.
      See Also:
  • Constructor Details

    • 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 Details

    • getExcludeCronJobs

      @Accessor(qualifier="excludeCronJobs", type=GETTER) public 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 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 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(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(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(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