@ProviderType
public abstract class ShoppingItemFieldLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService, com.liferay.portal.kernel.bean.IdentifiableBean
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ShoppingItemFieldLocalServiceImpl.
ShoppingItemFieldLocalServiceImpl,
ShoppingItemFieldLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService |
shoppingItemFieldLocalService |
protected com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence |
shoppingItemFieldPersistence |
| Constructor and Description |
|---|
ShoppingItemFieldLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.shopping.model.ShoppingItemField |
addShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
Adds the shopping item field to the database.
|
void |
afterPropertiesSet() |
com.liferay.portlet.shopping.model.ShoppingItemField |
createShoppingItemField(long itemFieldId)
Creates a new shopping item field with the primary key.
|
com.liferay.portal.model.PersistedModel |
deletePersistedModel(com.liferay.portal.model.PersistedModel persistedModel) |
com.liferay.portlet.shopping.model.ShoppingItemField |
deleteShoppingItemField(long itemFieldId)
Deletes the shopping item field with the primary key from the database.
|
com.liferay.portlet.shopping.model.ShoppingItemField |
deleteShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
Deletes the shopping item field from the database.
|
void |
destroy() |
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.
|
com.liferay.portlet.shopping.model.ShoppingItemField |
fetchShoppingItemField(long itemFieldId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
protected java.lang.Class<?> |
getModelClass() |
protected java.lang.String |
getModelClassName() |
com.liferay.portal.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.portlet.shopping.model.ShoppingItemField |
getShoppingItemField(long itemFieldId)
Returns the shopping item field with the primary key.
|
com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService |
getShoppingItemFieldLocalService()
Returns the shopping item field local service.
|
com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence |
getShoppingItemFieldPersistence()
Returns the shopping item field persistence.
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> |
getShoppingItemFields(int start,
int end)
Returns a range of all the shopping item fields.
|
int |
getShoppingItemFieldsCount()
Returns the number of shopping item fields.
|
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(java.lang.String sql)
Performs a SQL query.
|
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setShoppingItemFieldLocalService(com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService shoppingItemFieldLocalService)
Sets the shopping item field local service.
|
void |
setShoppingItemFieldPersistence(com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence shoppingItemFieldPersistence)
Sets the shopping item field persistence.
|
com.liferay.portlet.shopping.model.ShoppingItemField |
updateShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
Updates the shopping item field in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap@BeanReference(type=com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService.class) protected com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService shoppingItemFieldLocalService
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence shoppingItemFieldPersistence
@BeanReference(type=com.liferay.counter.service.CounterLocalService.class) protected com.liferay.counter.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
public ShoppingItemFieldLocalServiceBaseImpl()
@Indexable(type=REINDEX) public com.liferay.portlet.shopping.model.ShoppingItemField addShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
addShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceshoppingItemField - the shopping item fieldpublic com.liferay.portlet.shopping.model.ShoppingItemField createShoppingItemField(long itemFieldId)
createShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceitemFieldId - the primary key for the new shopping item field@Indexable(type=DELETE)
public com.liferay.portlet.shopping.model.ShoppingItemField deleteShoppingItemField(long itemFieldId)
throws com.liferay.portal.kernel.exception.PortalException
deleteShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceitemFieldId - the primary key of the shopping item fieldcom.liferay.portal.kernel.exception.PortalException - if a shopping item field with the primary key could not be found@Indexable(type=DELETE) public com.liferay.portlet.shopping.model.ShoppingItemField deleteShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
deleteShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceshoppingItemField - the shopping item fieldpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemFieldModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemFieldModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicedynamicQuery - 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 com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic com.liferay.portlet.shopping.model.ShoppingItemField fetchShoppingItemField(long itemFieldId)
fetchShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicepublic com.liferay.portlet.shopping.model.ShoppingItemField getShoppingItemField(long itemFieldId)
throws com.liferay.portal.kernel.exception.PortalException
getShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceitemFieldId - the primary key of the shopping item fieldcom.liferay.portal.kernel.exception.PortalException - if a shopping item field with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceprotected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.model.PersistedModel deletePersistedModel(com.liferay.portal.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicedeletePersistedModel in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalServicegetPersistedModel in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getShoppingItemFields(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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemFieldModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getShoppingItemFields in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicestart - the lower bound of the range of shopping item fieldsend - the upper bound of the range of shopping item fields (not inclusive)public int getShoppingItemFieldsCount()
getShoppingItemFieldsCount in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService@Indexable(type=REINDEX) public com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
updateShoppingItemField in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServiceshoppingItemField - the shopping item fieldpublic com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService getShoppingItemFieldLocalService()
public void setShoppingItemFieldLocalService(com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService shoppingItemFieldLocalService)
shoppingItemFieldLocalService - the shopping item field local servicepublic com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence getShoppingItemFieldPersistence()
public void setShoppingItemFieldPersistence(com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence shoppingItemFieldPersistence)
shoppingItemFieldPersistence - the shopping item field persistencepublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic void afterPropertiesSet()
public void destroy()
public java.lang.String getBeanIdentifier()
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeangetBeanIdentifier in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBeansetBeanIdentifier in interface com.liferay.portlet.shopping.service.ShoppingItemFieldLocalServicebeanIdentifier - the Spring bean ID for this beanprotected java.lang.Class<?> getModelClass()
protected java.lang.String getModelClassName()
protected void runSQL(java.lang.String sql)
sql - the sql query