Class OldCartRemovalCronJobModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class OldCartRemovalCronJobModel
    extends CronJobModel
    Generated model class for type OldCartRemovalCronJob first defined at extension ycommercewebservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String SITES
        Generated constant - Attribute key of OldCartRemovalCronJob.sites attribute defined at extension ycommercewebservices.
        See Also:
        Constant Field Values
      • CARTREMOVALAGE

        public static final java.lang.String CARTREMOVALAGE
        Generated constant - Attribute key of OldCartRemovalCronJob.cartRemovalAge attribute defined at extension ycommercewebservices.
        See Also:
        Constant Field Values
      • ANONYMOUSCARTREMOVALAGE

        public static final java.lang.String ANONYMOUSCARTREMOVALAGE
        Generated constant - Attribute key of OldCartRemovalCronJob.anonymousCartRemovalAge attribute defined at extension ycommercewebservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OldCartRemovalCronJobModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OldCartRemovalCronJobModel​(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
      • OldCartRemovalCronJobModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OldCartRemovalCronJobModel​(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

      • getAnonymousCartRemovalAge

        @Accessor(qualifier="anonymousCartRemovalAge",
                  type=GETTER)
        public java.lang.Integer getAnonymousCartRemovalAge()
        Generated method - Getter of the OldCartRemovalCronJob.anonymousCartRemovalAge attribute defined at extension ycommercewebservices.
        Returns:
        the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
      • getCartRemovalAge

        @Accessor(qualifier="cartRemovalAge",
                  type=GETTER)
        public java.lang.Integer getCartRemovalAge()
        Generated method - Getter of the OldCartRemovalCronJob.cartRemovalAge attribute defined at extension ycommercewebservices.
        Returns:
        the cartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 28 days.
      • getSites

        @Accessor(qualifier="sites",
                  type=GETTER)
        public java.util.Collection<BaseSiteModel> getSites()
        Generated method - Getter of the OldCartRemovalCronJob.sites attribute defined at extension ycommercewebservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the sites - BaseSites for which old carts should be removed
      • setAnonymousCartRemovalAge

        @Accessor(qualifier="anonymousCartRemovalAge",
                  type=SETTER)
        public void setAnonymousCartRemovalAge​(java.lang.Integer value)
        Generated method - Setter of OldCartRemovalCronJob.anonymousCartRemovalAge attribute defined at extension ycommercewebservices.
        Parameters:
        value - the anonymousCartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 14 days.
      • setCartRemovalAge

        @Accessor(qualifier="cartRemovalAge",
                  type=SETTER)
        public void setCartRemovalAge​(java.lang.Integer value)
        Generated method - Setter of OldCartRemovalCronJob.cartRemovalAge attribute defined at extension ycommercewebservices.
        Parameters:
        value - the cartRemovalAge - After specified number of seconds carts will be cleaned up. Default is 28 days.
      • setSites

        @Accessor(qualifier="sites",
                  type=SETTER)
        public void setSites​(java.util.Collection<BaseSiteModel> value)
        Generated method - Setter of OldCartRemovalCronJob.sites attribute defined at extension ycommercewebservices.
        Parameters:
        value - the sites - BaseSites for which old carts should be removed