Class CPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper
- All Implemented Interfaces:
CPSpecificationOptionListTypeDefinitionRelLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<CPSpecificationOptionListTypeDefinitionRel>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<CPSpecificationOptionListTypeDefinitionRelLocalService>
CPSpecificationOptionListTypeDefinitionRelLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper(CPSpecificationOptionListTypeDefinitionRelLocalService cpSpecificationOptionListTypeDefinitionRelLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) addCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Adds the cp specification option list type definition rel to the database.createCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) Creates a new cp specification option list type definition rel with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) Deletes the cp specification option list type definition rel with the primary key from the database.voiddeleteCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) deleteCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Deletes the cp specification option list type definition rel from the database.voiddeleteCPSpecificationOptionListTypeDefinitionRels(long cpSpecificationOptionId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) fetchCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) Returns the cp specification option list type definition rel with the primary key.getCPSpecificationOptionListTypeDefinitionRels(int start, int end) Returns a range of all the cp specification option list type definition rels.getCPSpecificationOptionListTypeDefinitionRels(long cpSpecificationOptionId) intReturns the number of cp specification option list type definition rels.intgetCPSpecificationOptionListTypeDefinitionRelsCount(long listTypeDefinitionId) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) booleanhasCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) voidsetWrappedService(CPSpecificationOptionListTypeDefinitionRelLocalService cpSpecificationOptionListTypeDefinitionRelLocalService) updateCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Updates the cp specification option list type definition rel in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper
public CPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper() -
CPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper
public CPSpecificationOptionListTypeDefinitionRelLocalServiceWrapper(CPSpecificationOptionListTypeDefinitionRelLocalService cpSpecificationOptionListTypeDefinitionRelLocalService)
-
-
Method Details
-
addCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel addCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Adds the cp specification option list type definition rel to the database. Also notifies the appropriate model listeners.Important: Inspect CPSpecificationOptionListTypeDefinitionRelLocalServiceImpl 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.
- Specified by:
addCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
cpSpecificationOptionListTypeDefinitionRel- the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel that was added
-
addCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel addCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel createCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) Creates a new cp specification option list type definition rel with the primary key. Does not add the cp specification option list type definition rel to the database.- Specified by:
createCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
CPSpecificationOptionListTypeDefinitionRelId- the primary key for the new cp specification option list type definition rel- Returns:
- the new cp specification option list type definition rel
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel deleteCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Deletes the cp specification option list type definition rel from the database. Also notifies the appropriate model listeners.Important: Inspect CPSpecificationOptionListTypeDefinitionRelLocalServiceImpl 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.
- Specified by:
deleteCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
cpSpecificationOptionListTypeDefinitionRel- the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel that was removed
-
deleteCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel deleteCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) throws com.liferay.portal.kernel.exception.PortalException Deletes the cp specification option list type definition rel with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CPSpecificationOptionListTypeDefinitionRelLocalServiceImpl 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.
- Specified by:
deleteCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
CPSpecificationOptionListTypeDefinitionRelId- the primary key of the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel that was removed
- Throws:
PortalException- if a cp specification option list type definition rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCPSpecificationOptionListTypeDefinitionRel
public void deleteCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPSpecificationOptionListTypeDefinitionRels
public void deleteCPSpecificationOptionListTypeDefinitionRels(long cpSpecificationOptionId) - Specified by:
deleteCPSpecificationOptionListTypeDefinitionRelsin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPSpecificationOptionListTypeDefinitionRelModelImpl.- Specified by:
dynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- 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 <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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPSpecificationOptionListTypeDefinitionRelModelImpl.- Specified by:
dynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- 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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCountin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel fetchCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) - Specified by:
fetchCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
fetchCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel fetchCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) - Specified by:
fetchCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
getCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel getCPSpecificationOptionListTypeDefinitionRel(long CPSpecificationOptionListTypeDefinitionRelId) throws com.liferay.portal.kernel.exception.PortalException Returns the cp specification option list type definition rel with the primary key.- Specified by:
getCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
CPSpecificationOptionListTypeDefinitionRelId- the primary key of the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel
- Throws:
PortalException- if a cp specification option list type definition rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCPSpecificationOptionListTypeDefinitionRels
public List<CPSpecificationOptionListTypeDefinitionRel> getCPSpecificationOptionListTypeDefinitionRels(int start, int end) Returns a range of all the cp specification option list type definition rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPSpecificationOptionListTypeDefinitionRelModelImpl.- Specified by:
getCPSpecificationOptionListTypeDefinitionRelsin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
start- the lower bound of the range of cp specification option list type definition relsend- the upper bound of the range of cp specification option list type definition rels (not inclusive)- Returns:
- the range of cp specification option list type definition rels
-
getCPSpecificationOptionListTypeDefinitionRels
public List<CPSpecificationOptionListTypeDefinitionRel> getCPSpecificationOptionListTypeDefinitionRels(long cpSpecificationOptionId) - Specified by:
getCPSpecificationOptionListTypeDefinitionRelsin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
getCPSpecificationOptionListTypeDefinitionRelsCount
public int getCPSpecificationOptionListTypeDefinitionRelsCount()Returns the number of cp specification option list type definition rels.- Specified by:
getCPSpecificationOptionListTypeDefinitionRelsCountin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Returns:
- the number of cp specification option list type definition rels
-
getCPSpecificationOptionListTypeDefinitionRelsCount
public int getCPSpecificationOptionListTypeDefinitionRelsCount(long listTypeDefinitionId) - Specified by:
getCPSpecificationOptionListTypeDefinitionRelsCountin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
hasCPSpecificationOptionListTypeDefinitionRel
public boolean hasCPSpecificationOptionListTypeDefinitionRel(long cpSpecificationOptionId, long listTypeDefinitionId) - Specified by:
hasCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService
-
updateCPSpecificationOptionListTypeDefinitionRel
public CPSpecificationOptionListTypeDefinitionRel updateCPSpecificationOptionListTypeDefinitionRel(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel) Updates the cp specification option list type definition rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CPSpecificationOptionListTypeDefinitionRelLocalServiceImpl 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.
- Specified by:
updateCPSpecificationOptionListTypeDefinitionRelin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Parameters:
cpSpecificationOptionListTypeDefinitionRel- the cp specification option list type definition rel- Returns:
- the cp specification option list type definition rel that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel> getCTPersistence()- Specified by:
getCTPersistencein interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPSpecificationOptionListTypeDefinitionRel>
-
getModelClass
- Specified by:
getModelClassin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPSpecificationOptionListTypeDefinitionRel>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCPSpecificationOptionListTypeDefinitionRelLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPSpecificationOptionListTypeDefinitionRel>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPSpecificationOptionListTypeDefinitionRelLocalService>
-
setWrappedService
public void setWrappedService(CPSpecificationOptionListTypeDefinitionRelLocalService cpSpecificationOptionListTypeDefinitionRelLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPSpecificationOptionListTypeDefinitionRelLocalService>
-