public class CommerceTermEntryRelLocalServiceWrapper extends java.lang.Object implements CommerceTermEntryRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceTermEntryRelLocalService>
CommerceTermEntryRelLocalService
.CommerceTermEntryRelLocalService
Constructor and Description |
---|
CommerceTermEntryRelLocalServiceWrapper() |
CommerceTermEntryRelLocalServiceWrapper(CommerceTermEntryRelLocalService commerceTermEntryRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CommerceTermEntryRel |
addCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel)
Adds the commerce term entry rel to the database.
|
CommerceTermEntryRel |
addCommerceTermEntryRel(long userId,
java.lang.String className,
long classPK,
long commerceTermEntryId) |
CommerceTermEntryRel |
createCommerceTermEntryRel(long commerceTermEntryRelId)
Creates a new commerce term entry rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceTermEntryRel |
deleteCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel)
Deletes the commerce term entry rel from the database.
|
CommerceTermEntryRel |
deleteCommerceTermEntryRel(long commerceTermEntryRelId)
Deletes the commerce term entry rel with the primary key from the database.
|
void |
deleteCommerceTermEntryRels(long commerceTermEntryId) |
void |
deleteCommerceTermEntryRels(java.lang.String className,
long commerceTermEntryId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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.
|
<T> java.util.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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
CommerceTermEntryRel |
fetchCommerceTermEntryRel(long commerceTermEntryRelId) |
CommerceTermEntryRel |
fetchCommerceTermEntryRel(java.lang.String className,
long classPK,
long commerceTermEntryId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<CommerceTermEntryRel> |
getCommerceOrderTypeCommerceTermEntryRels(long commerceTermEntryId,
java.lang.String keywords,
int start,
int end) |
int |
getCommerceOrderTypeCommerceTermEntryRelsCount(long commerceTermEntryId,
java.lang.String keywords) |
CommerceTermEntryRel |
getCommerceTermEntryRel(long commerceTermEntryRelId)
Returns the commerce term entry rel with the primary key.
|
java.util.List<CommerceTermEntryRel> |
getCommerceTermEntryRels(int start,
int end)
Returns a range of all the commerce term entry rels.
|
java.util.List<CommerceTermEntryRel> |
getCommerceTermEntryRels(long commerceTermEntryId) |
java.util.List<CommerceTermEntryRel> |
getCommerceTermEntryRels(long commerceTermEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator) |
int |
getCommerceTermEntryRelsCount()
Returns the number of commerce term entry rels.
|
int |
getCommerceTermEntryRelsCount(long commerceTermEntryId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceTermEntryRelLocalService |
getWrappedService() |
void |
setWrappedService(CommerceTermEntryRelLocalService commerceTermEntryRelLocalService) |
CommerceTermEntryRel |
updateCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel)
Updates the commerce term entry rel in the database or adds it if it does not yet exist.
|
public CommerceTermEntryRelLocalServiceWrapper()
public CommerceTermEntryRelLocalServiceWrapper(CommerceTermEntryRelLocalService commerceTermEntryRelLocalService)
public CommerceTermEntryRel addCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel)
Important: Inspect CommerceTermEntryRelLocalServiceImpl 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.
addCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRel
- the commerce term entry relpublic CommerceTermEntryRel addCommerceTermEntryRel(long userId, java.lang.String className, long classPK, long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceTermEntryRel createCommerceTermEntryRel(long commerceTermEntryRelId)
createCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRelId
- the primary key for the new commerce term entry relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommerceTermEntryRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceTermEntryRel deleteCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceTermEntryRelLocalServiceImpl 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.
deleteCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRel
- the commerce term entry relPortalException
public CommerceTermEntryRel deleteCommerceTermEntryRel(long commerceTermEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceTermEntryRelLocalServiceImpl 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.
deleteCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRelId
- the primary key of the commerce term entry relPortalException
- if a commerce term entry rel with the primary key could not be foundpublic void deleteCommerceTermEntryRels(long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceTermEntryRels(java.lang.String className, long commerceTermEntryId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CommerceTermEntryRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommerceTermEntryRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommerceTermEntryRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommerceTermEntryRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommerceTermEntryRelLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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.term.model.impl.CommerceTermEntryRelModelImpl
.
dynamicQuery
in interface CommerceTermEntryRelLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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.term.model.impl.CommerceTermEntryRelModelImpl
.
dynamicQuery
in interface CommerceTermEntryRelLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CommerceTermEntryRelLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CommerceTermEntryRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommerceTermEntryRel fetchCommerceTermEntryRel(long commerceTermEntryRelId)
fetchCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
public CommerceTermEntryRel fetchCommerceTermEntryRel(java.lang.String className, long classPK, long commerceTermEntryId)
fetchCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommerceTermEntryRelLocalService
public java.util.List<CommerceTermEntryRel> getCommerceOrderTypeCommerceTermEntryRels(long commerceTermEntryId, java.lang.String keywords, int start, int end)
getCommerceOrderTypeCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
public int getCommerceOrderTypeCommerceTermEntryRelsCount(long commerceTermEntryId, java.lang.String keywords)
getCommerceOrderTypeCommerceTermEntryRelsCount
in interface CommerceTermEntryRelLocalService
public CommerceTermEntryRel getCommerceTermEntryRel(long commerceTermEntryRelId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRelId
- the primary key of the commerce term entry relPortalException
- if a commerce term entry rel with the primary key could not be foundpublic java.util.List<CommerceTermEntryRel> getCommerceTermEntryRels(int start, int end)
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.term.model.impl.CommerceTermEntryRelModelImpl
.
getCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
start
- the lower bound of the range of commerce term entry relsend
- the upper bound of the range of commerce term entry rels (not inclusive)public java.util.List<CommerceTermEntryRel> getCommerceTermEntryRels(long commerceTermEntryId)
getCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
public java.util.List<CommerceTermEntryRel> getCommerceTermEntryRels(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
getCommerceTermEntryRels
in interface CommerceTermEntryRelLocalService
public int getCommerceTermEntryRelsCount()
getCommerceTermEntryRelsCount
in interface CommerceTermEntryRelLocalService
public int getCommerceTermEntryRelsCount(long commerceTermEntryId)
getCommerceTermEntryRelsCount
in interface CommerceTermEntryRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommerceTermEntryRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceTermEntryRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommerceTermEntryRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceTermEntryRel updateCommerceTermEntryRel(CommerceTermEntryRel commerceTermEntryRel)
Important: Inspect CommerceTermEntryRelLocalServiceImpl 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.
updateCommerceTermEntryRel
in interface CommerceTermEntryRelLocalService
commerceTermEntryRel
- the commerce term entry relpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public CommerceTermEntryRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceTermEntryRelLocalService>
public void setWrappedService(CommerceTermEntryRelLocalService commerceTermEntryRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceTermEntryRelLocalService>