Class CommerceInventoryWarehouseRelLocalServiceUtil
com.liferay.commerce.inventory.service.impl.CommerceInventoryWarehouseRelLocalServiceImpl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceInventoryWarehouseRel
(long userId, String className, long classPK, long commerceInventoryWarehouseId) addCommerceInventoryWarehouseRel
(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) Adds the commerce inventory warehouse rel to the database.createCommerceInventoryWarehouseRel
(long commerceInventoryWarehouseRelId) Creates a new commerce inventory warehouse rel with the primary key.static com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCommerceInventoryWarehouseRel
(long commerceInventoryWarehouseRelId) Deletes the commerce inventory warehouse rel with the primary key from the database.deleteCommerceInventoryWarehouseRel
(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) Deletes the commerce inventory warehouse rel from the database.static void
deleteCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId) static void
deleteCommerceInventoryWarehouseRels
(String className, long commerceInventoryWarehouseId) static com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) static <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static com.liferay.portal.kernel.dao.orm.DynamicQuery
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.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.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.static long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchCommerceInventoryWarehouseRel
(long commerceInventoryWarehouseRelId) fetchCommerceInventoryWarehouseRel
(String className, long classPK, long commerceInventoryWarehouseId) static List<CommerceInventoryWarehouseRel>
getAccountEntryCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId, String keywords, int start, int end) static int
getAccountEntryCommerceInventoryWarehouseRelsCount
(long commerceInventoryWarehouseId, String keywords) static List<CommerceInventoryWarehouseRel>
getAccountGroupCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId, String keywords, int start, int end) static int
getAccountGroupCommerceInventoryWarehouseRelsCount
(long commerceInventoryWarehouseId, String keywords) static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getCommerceInventoryWarehouseRel
(long commerceInventoryWarehouseRelId) Returns the commerce inventory warehouse rel with the primary key.static List<CommerceInventoryWarehouseRel>
getCommerceInventoryWarehouseRels
(int start, int end) Returns a range of all the commerce inventory warehouse rels.static List<CommerceInventoryWarehouseRel>
getCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId) static List<CommerceInventoryWarehouseRel>
getCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) static List<CommerceInventoryWarehouseRel>
getCommerceInventoryWarehouseRels
(String className, long commerceInventoryWarehouseId) static List<CommerceInventoryWarehouseRel>
getCommerceInventoryWarehouseRels
(String className, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) static int
Returns the number of commerce inventory warehouse rels.static int
getCommerceInventoryWarehouseRelsCount
(long commerceInventoryWarehouseId) static int
getCommerceInventoryWarehouseRelsCount
(String className, long commerceInventoryWarehouseId) static List<CommerceInventoryWarehouseRel>
getCommerceOrderTypeCommerceInventoryWarehouseRels
(long commerceInventoryWarehouseId, String keywords, int start, int end) static int
getCommerceOrderTypeCommerceInventoryWarehouseRelsCount
(long commerceInventoryWarehouseId, String keywords) static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
static String
Returns the OSGi service identifier.static com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) updateCommerceInventoryWarehouseRel
(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) Updates the commerce inventory warehouse rel in the database or adds it if it does not yet exist.
-
Constructor Details
-
CommerceInventoryWarehouseRelLocalServiceUtil
public CommerceInventoryWarehouseRelLocalServiceUtil()
-
-
Method Details
-
addCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel addCommerceInventoryWarehouseRel(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) Adds the commerce inventory warehouse rel to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceInventoryWarehouseRelLocalServiceImpl 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:
commerceInventoryWarehouseRel
- the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel that was added
-
addCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel addCommerceInventoryWarehouseRel(long userId, String className, long classPK, long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel createCommerceInventoryWarehouseRel(long commerceInventoryWarehouseRelId) Creates a new commerce inventory warehouse rel with the primary key. Does not add the commerce inventory warehouse rel to the database.- Parameters:
commerceInventoryWarehouseRelId
- the primary key for the new commerce inventory warehouse rel- Returns:
- the new commerce inventory warehouse rel
-
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
-
deleteCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel deleteCommerceInventoryWarehouseRel(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce inventory warehouse rel from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceInventoryWarehouseRelLocalServiceImpl 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:
commerceInventoryWarehouseRel
- the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel deleteCommerceInventoryWarehouseRel(long commerceInventoryWarehouseRelId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce inventory warehouse rel with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceInventoryWarehouseRelLocalServiceImpl 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:
commerceInventoryWarehouseRelId
- the primary key of the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a commerce inventory warehouse rel with the primary key could not be found
-
deleteCommerceInventoryWarehouseRels
public static void deleteCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceInventoryWarehouseRels
public static void deleteCommerceInventoryWarehouseRels(String className, long commerceInventoryWarehouseId) 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel fetchCommerceInventoryWarehouseRel(long commerceInventoryWarehouseRelId) -
fetchCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel fetchCommerceInventoryWarehouseRel(String className, long classPK, long commerceInventoryWarehouseId) -
getAccountEntryCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getAccountEntryCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId, String keywords, int start, int end) -
getAccountEntryCommerceInventoryWarehouseRelsCount
public static int getAccountEntryCommerceInventoryWarehouseRelsCount(long commerceInventoryWarehouseId, String keywords) -
getAccountGroupCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getAccountGroupCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId, String keywords, int start, int end) -
getAccountGroupCommerceInventoryWarehouseRelsCount
public static int getAccountGroupCommerceInventoryWarehouseRelsCount(long commerceInventoryWarehouseId, String keywords) -
getActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel getCommerceInventoryWarehouseRel(long commerceInventoryWarehouseRelId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce inventory warehouse rel with the primary key.- Parameters:
commerceInventoryWarehouseRelId
- the primary key of the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a commerce inventory warehouse rel with the primary key could not be found
-
getCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceInventoryWarehouseRels(int start, int end) Returns a range of all the commerce inventory warehouse rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce inventory warehouse relsend
- the upper bound of the range of commerce inventory warehouse rels (not inclusive)- Returns:
- the range of commerce inventory warehouse rels
-
getCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId) -
getCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) -
getCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceInventoryWarehouseRels(String className, long commerceInventoryWarehouseId) -
getCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceInventoryWarehouseRels(String className, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) -
getCommerceInventoryWarehouseRelsCount
public static int getCommerceInventoryWarehouseRelsCount()Returns the number of commerce inventory warehouse rels.- Returns:
- the number of commerce inventory warehouse rels
-
getCommerceInventoryWarehouseRelsCount
public static int getCommerceInventoryWarehouseRelsCount(long commerceInventoryWarehouseId) -
getCommerceInventoryWarehouseRelsCount
public static int getCommerceInventoryWarehouseRelsCount(String className, long commerceInventoryWarehouseId) -
getCommerceOrderTypeCommerceInventoryWarehouseRels
public static List<CommerceInventoryWarehouseRel> getCommerceOrderTypeCommerceInventoryWarehouseRels(long commerceInventoryWarehouseId, String keywords, int start, int end) -
getCommerceOrderTypeCommerceInventoryWarehouseRelsCount
public static int getCommerceOrderTypeCommerceInventoryWarehouseRelsCount(long commerceInventoryWarehouseId, String keywords) -
getIndexableActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
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
-
updateCommerceInventoryWarehouseRel
public static CommerceInventoryWarehouseRel updateCommerceInventoryWarehouseRel(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) Updates the commerce inventory warehouse rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceInventoryWarehouseRelLocalServiceImpl 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:
commerceInventoryWarehouseRel
- the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel that was updated
-
getService
-