Class CommerceShippingFixedOptionQualifierLocalServiceUtil

java.lang.Object
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionQualifierLocalServiceUtil

public class CommerceShippingFixedOptionQualifierLocalServiceUtil extends Object
Provides the local service utility for CommerceShippingFixedOptionQualifier. This utility wraps com.liferay.commerce.shipping.engine.fixed.service.impl.CommerceShippingFixedOptionQualifierLocalServiceImpl and is an access point for service operations in application layer code running on the local server. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
See Also:
Generated:
  • Constructor Details

    • CommerceShippingFixedOptionQualifierLocalServiceUtil

      public CommerceShippingFixedOptionQualifierLocalServiceUtil()
  • Method Details

    • addCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier addCommerceShippingFixedOptionQualifier(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier)
      Adds the commerce shipping fixed option qualifier to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionQualifierLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceShippingFixedOptionQualifier - the commerce shipping fixed option qualifier
      Returns:
      the commerce shipping fixed option qualifier that was added
    • addCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier addCommerceShippingFixedOptionQualifier(long userId, String className, long classPK, long commerceShippingFixedOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier createCommerceShippingFixedOptionQualifier(long commerceShippingFixedOptionQualifierId)
      Creates a new commerce shipping fixed option qualifier with the primary key. Does not add the commerce shipping fixed option qualifier to the database.
      Parameters:
      commerceShippingFixedOptionQualifierId - the primary key for the new commerce shipping fixed option qualifier
      Returns:
      the new commerce shipping fixed option qualifier
    • createPersistedModel

      public static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier deleteCommerceShippingFixedOptionQualifier(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier)
      Deletes the commerce shipping fixed option qualifier from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionQualifierLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceShippingFixedOptionQualifier - the commerce shipping fixed option qualifier
      Returns:
      the commerce shipping fixed option qualifier that was removed
    • deleteCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier deleteCommerceShippingFixedOptionQualifier(long commerceShippingFixedOptionQualifierId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce shipping fixed option qualifier with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionQualifierLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceShippingFixedOptionQualifierId - the primary key of the commerce shipping fixed option qualifier
      Returns:
      the commerce shipping fixed option qualifier that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a commerce shipping fixed option qualifier with the primary key could not be found
    • deleteCommerceShippingFixedOptionQualifiers

      public static void deleteCommerceShippingFixedOptionQualifiers(long commerceShippingFixedOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceShippingFixedOptionQualifiers

      public static void deleteCommerceShippingFixedOptionQualifiers(String className, long commerceShippingFixedOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
    • dslQueryCount

      public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
    • dynamicQuery

      public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
    • dynamicQuery

      public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier fetchCommerceShippingFixedOptionQualifier(long commerceShippingFixedOptionQualifierId)
    • fetchCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier fetchCommerceShippingFixedOptionQualifier(String className, long classPK, long commerceShippingFixedOptionId)
    • getActionableDynamicQuery

      public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
    • getCommerceOrderTypeCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceOrderTypeCommerceShippingFixedOptionQualifiers(long commerceShippingFixedOptionId, String keywords, int start, int end)
    • getCommerceOrderTypeCommerceShippingFixedOptionQualifiersCount

      public static int getCommerceOrderTypeCommerceShippingFixedOptionQualifiersCount(long commerceShippingFixedOptionId, String keywords)
    • getCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier getCommerceShippingFixedOptionQualifier(long commerceShippingFixedOptionQualifierId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce shipping fixed option qualifier with the primary key.
      Parameters:
      commerceShippingFixedOptionQualifierId - the primary key of the commerce shipping fixed option qualifier
      Returns:
      the commerce shipping fixed option qualifier
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a commerce shipping fixed option qualifier with the primary key could not be found
    • getCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceShippingFixedOptionQualifiers(int start, int end)
      Returns a range of all the commerce shipping fixed option qualifiers.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      Returns:
      the range of commerce shipping fixed option qualifiers
    • getCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceShippingFixedOptionQualifiers(long commerceShippingFixedOptionId)
    • getCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceShippingFixedOptionQualifiers(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator)
    • getCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceShippingFixedOptionQualifiers(String className, long commerceShippingFixedOptionId)
    • getCommerceShippingFixedOptionQualifiersCount

      public static int getCommerceShippingFixedOptionQualifiersCount()
      Returns the number of commerce shipping fixed option qualifiers.
      Returns:
      the number of commerce shipping fixed option qualifiers
    • getCommerceShippingFixedOptionQualifiersCount

      public static int getCommerceShippingFixedOptionQualifiersCount(long commerceShippingFixedOptionId)
    • getCommerceTermEntryCommerceShippingFixedOptionQualifiers

      public static List<CommerceShippingFixedOptionQualifier> getCommerceTermEntryCommerceShippingFixedOptionQualifiers(long commerceShippingFixedOptionId, String keywords, int start, int end)
    • getCommerceTermEntryCommerceShippingFixedOptionQualifiersCount

      public static int getCommerceTermEntryCommerceShippingFixedOptionQualifiersCount(long commerceShippingFixedOptionId, String keywords)
    • getIndexableActionableDynamicQuery

      public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceShippingFixedOptionQualifier

      public static CommerceShippingFixedOptionQualifier updateCommerceShippingFixedOptionQualifier(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier)
      Updates the commerce shipping fixed option qualifier in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionQualifierLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Parameters:
      commerceShippingFixedOptionQualifier - the commerce shipping fixed option qualifier
      Returns:
      the commerce shipping fixed option qualifier that was updated
    • getService