|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.shopping.service.base.ShoppingOrderLocalServiceBaseImpl
@ProviderType public abstract class ShoppingOrderLocalServiceBaseImpl
Provides the base implementation for the shopping order local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ShoppingOrderLocalServiceImpl.
ShoppingOrderLocalServiceImpl,
ShoppingOrderLocalServiceUtil| Constructor Summary | |
|---|---|
ShoppingOrderLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
ShoppingOrder |
addShoppingOrder(ShoppingOrder shoppingOrder)
Adds the shopping order to the database. |
|
void |
afterPropertiesSet()
|
|
ShoppingOrder |
createShoppingOrder(long orderId)
Creates a new shopping order with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
ShoppingOrder |
deleteShoppingOrder(long orderId)
Deletes the shopping order with the primary key from the database. |
|
ShoppingOrder |
deleteShoppingOrder(ShoppingOrder shoppingOrder)
Deletes the shopping order from the database. |
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
ShoppingOrder |
fetchShoppingOrder(long orderId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
CompanyLocalService |
getCompanyLocalService()
Returns the company local service. |
|
CompanyPersistence |
getCompanyPersistence()
Returns the company persistence. |
|
CompanyService |
getCompanyService()
Returns the company remote service. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
MailService |
getMailService()
Returns the mail remote service. |
|
MBMessageFinder |
getMBMessageFinder()
Returns the message-boards message finder. |
|
MBMessageLocalService |
getMBMessageLocalService()
Returns the message-boards message local service. |
|
MBMessagePersistence |
getMBMessagePersistence()
Returns the message-boards message persistence. |
|
MBMessageService |
getMBMessageService()
Returns the message-boards message remote service. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
ShoppingItemFieldLocalService |
getShoppingItemFieldLocalService()
Returns the shopping item field local service. |
|
ShoppingItemFieldPersistence |
getShoppingItemFieldPersistence()
Returns the shopping item field persistence. |
|
ShoppingItemFinder |
getShoppingItemFinder()
Returns the shopping item finder. |
|
ShoppingItemLocalService |
getShoppingItemLocalService()
Returns the shopping item local service. |
|
ShoppingItemPersistence |
getShoppingItemPersistence()
Returns the shopping item persistence. |
|
ShoppingItemService |
getShoppingItemService()
Returns the shopping item remote service. |
|
ShoppingOrder |
getShoppingOrder(long orderId)
Returns the shopping order with the primary key. |
|
ShoppingOrderFinder |
getShoppingOrderFinder()
Returns the shopping order finder. |
|
ShoppingOrderItemLocalService |
getShoppingOrderItemLocalService()
Returns the shopping order item local service. |
|
ShoppingOrderItemPersistence |
getShoppingOrderItemPersistence()
Returns the shopping order item persistence. |
|
ShoppingOrderLocalService |
getShoppingOrderLocalService()
Returns the shopping order local service. |
|
ShoppingOrderPersistence |
getShoppingOrderPersistence()
Returns the shopping order persistence. |
|
List<ShoppingOrder> |
getShoppingOrders(int start,
int end)
Returns a range of all the shopping orders. |
|
int |
getShoppingOrdersCount()
Returns the number of shopping orders. |
|
ShoppingOrderService |
getShoppingOrderService()
Returns the shopping order remote service. |
|
SubscriptionLocalService |
getSubscriptionLocalService()
Returns the subscription local service. |
|
SubscriptionPersistence |
getSubscriptionPersistence()
Returns the subscription persistence. |
|
UserFinder |
getUserFinder()
Returns the user finder. |
|
UserLocalService |
getUserLocalService()
Returns the user local service. |
|
UserPersistence |
getUserPersistence()
Returns the user persistence. |
|
UserService |
getUserService()
Returns the user remote service. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
void |
setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service. |
|
void |
setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence. |
|
void |
setCompanyService(CompanyService companyService)
Sets the company remote service. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setMailService(MailService mailService)
Sets the mail remote service. |
|
void |
setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder. |
|
void |
setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service. |
|
void |
setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence. |
|
void |
setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service. |
|
void |
setShoppingItemFieldLocalService(ShoppingItemFieldLocalService shoppingItemFieldLocalService)
Sets the shopping item field local service. |
|
void |
setShoppingItemFieldPersistence(ShoppingItemFieldPersistence shoppingItemFieldPersistence)
Sets the shopping item field persistence. |
|
void |
setShoppingItemFinder(ShoppingItemFinder shoppingItemFinder)
Sets the shopping item finder. |
|
void |
setShoppingItemLocalService(ShoppingItemLocalService shoppingItemLocalService)
Sets the shopping item local service. |
|
void |
setShoppingItemPersistence(ShoppingItemPersistence shoppingItemPersistence)
Sets the shopping item persistence. |
|
void |
setShoppingItemService(ShoppingItemService shoppingItemService)
Sets the shopping item remote service. |
|
void |
setShoppingOrderFinder(ShoppingOrderFinder shoppingOrderFinder)
Sets the shopping order finder. |
|
void |
setShoppingOrderItemLocalService(ShoppingOrderItemLocalService shoppingOrderItemLocalService)
Sets the shopping order item local service. |
|
void |
setShoppingOrderItemPersistence(ShoppingOrderItemPersistence shoppingOrderItemPersistence)
Sets the shopping order item persistence. |
|
void |
setShoppingOrderLocalService(ShoppingOrderLocalService shoppingOrderLocalService)
Sets the shopping order local service. |
|
void |
setShoppingOrderPersistence(ShoppingOrderPersistence shoppingOrderPersistence)
Sets the shopping order persistence. |
|
void |
setShoppingOrderService(ShoppingOrderService shoppingOrderService)
Sets the shopping order remote service. |
|
void |
setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service. |
|
void |
setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence. |
|
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
|
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
|
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
|
void |
setUserService(UserService userService)
Sets the user remote service. |
|
ShoppingOrder |
updateShoppingOrder(ShoppingOrder shoppingOrder)
Updates the shopping order in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.shopping.service.ShoppingOrderLocalService |
|---|
addLatestOrder, completeOrder, deleteOrder, deleteOrder, deleteOrders, getLatestOrder, getOrder, getOrder, getPayPalTxnIdOrder, saveLatestOrder, search, searchCount, sendEmail, sendEmail, updateLatestOrder, updateOrder, updateOrder |
| Field Detail |
|---|
@BeanReference(type=ShoppingOrderLocalService.class) protected ShoppingOrderLocalService shoppingOrderLocalService
@BeanReference(type=ShoppingOrderService.class) protected ShoppingOrderService shoppingOrderService
@BeanReference(type=ShoppingOrderPersistence.class) protected ShoppingOrderPersistence shoppingOrderPersistence
@BeanReference(type=ShoppingOrderFinder.class) protected ShoppingOrderFinder shoppingOrderFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=MailService.class) protected MailService mailService
@BeanReference(type=CompanyLocalService.class) protected CompanyLocalService companyLocalService
@BeanReference(type=CompanyService.class) protected CompanyService companyService
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=SubscriptionLocalService.class) protected SubscriptionLocalService subscriptionLocalService
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=MBMessageLocalService.class) protected MBMessageLocalService mbMessageLocalService
@BeanReference(type=MBMessageService.class) protected MBMessageService mbMessageService
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MBMessageFinder.class) protected MBMessageFinder mbMessageFinder
@BeanReference(type=ShoppingItemLocalService.class) protected ShoppingItemLocalService shoppingItemLocalService
@BeanReference(type=ShoppingItemService.class) protected ShoppingItemService shoppingItemService
@BeanReference(type=ShoppingItemPersistence.class) protected ShoppingItemPersistence shoppingItemPersistence
@BeanReference(type=ShoppingItemFinder.class) protected ShoppingItemFinder shoppingItemFinder
@BeanReference(type=ShoppingItemFieldLocalService.class) protected ShoppingItemFieldLocalService shoppingItemFieldLocalService
@BeanReference(type=ShoppingItemFieldPersistence.class) protected ShoppingItemFieldPersistence shoppingItemFieldPersistence
@BeanReference(type=ShoppingOrderItemLocalService.class) protected ShoppingOrderItemLocalService shoppingOrderItemLocalService
@BeanReference(type=ShoppingOrderItemPersistence.class) protected ShoppingOrderItemPersistence shoppingOrderItemPersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public ShoppingOrderLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public ShoppingOrder addShoppingOrder(ShoppingOrder shoppingOrder)
addShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping order
public ShoppingOrder createShoppingOrder(long orderId)
createShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key for the new shopping order
@Indexable(type=DELETE)
public ShoppingOrder deleteShoppingOrder(long orderId)
throws PortalException
deleteShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key of the shopping order
PortalException - if a shopping order with the primary key could not be found@Indexable(type=DELETE) public ShoppingOrder deleteShoppingOrder(ShoppingOrder shoppingOrder)
deleteShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping order
public DynamicQuery dynamicQuery()
dynamicQuery in interface ShoppingOrderLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ShoppingOrderLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(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 ShoppingOrderModelImpl. 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 ShoppingOrderLocalServicedynamicQuery - 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> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
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 ShoppingOrderModelImpl. 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 ShoppingOrderLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface ShoppingOrderLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface ShoppingOrderLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public ShoppingOrder fetchShoppingOrder(long orderId)
fetchShoppingOrder in interface ShoppingOrderLocalService
public ShoppingOrder getShoppingOrder(long orderId)
throws PortalException
getShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key of the shopping order
PortalException - if a shopping order with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ShoppingOrderLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface ShoppingOrderLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ShoppingOrderLocalServicePortalException
public List<ShoppingOrder> getShoppingOrders(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 ShoppingOrderModelImpl. 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.
getShoppingOrders in interface ShoppingOrderLocalServicestart - the lower bound of the range of shopping ordersend - the upper bound of the range of shopping orders (not inclusive)
public int getShoppingOrdersCount()
getShoppingOrdersCount in interface ShoppingOrderLocalService@Indexable(type=REINDEX) public ShoppingOrder updateShoppingOrder(ShoppingOrder shoppingOrder)
updateShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping order
public ShoppingOrderLocalService getShoppingOrderLocalService()
public void setShoppingOrderLocalService(ShoppingOrderLocalService shoppingOrderLocalService)
shoppingOrderLocalService - the shopping order local servicepublic ShoppingOrderService getShoppingOrderService()
public void setShoppingOrderService(ShoppingOrderService shoppingOrderService)
shoppingOrderService - the shopping order remote servicepublic ShoppingOrderPersistence getShoppingOrderPersistence()
public void setShoppingOrderPersistence(ShoppingOrderPersistence shoppingOrderPersistence)
shoppingOrderPersistence - the shopping order persistencepublic ShoppingOrderFinder getShoppingOrderFinder()
public void setShoppingOrderFinder(ShoppingOrderFinder shoppingOrderFinder)
shoppingOrderFinder - the shopping order finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic MailService getMailService()
public void setMailService(MailService mailService)
mailService - the mail remote servicepublic CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(CompanyLocalService companyLocalService)
companyLocalService - the company local servicepublic CompanyService getCompanyService()
public void setCompanyService(CompanyService companyService)
companyService - the company remote servicepublic CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(CompanyPersistence companyPersistence)
companyPersistence - the company persistencepublic SubscriptionLocalService getSubscriptionLocalService()
public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
subscriptionLocalService - the subscription local servicepublic SubscriptionPersistence getSubscriptionPersistence()
public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
subscriptionPersistence - the subscription persistencepublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService - the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService - the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence - the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder - the user finderpublic MBMessageLocalService getMBMessageLocalService()
public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
mbMessageLocalService - the message-boards message local servicepublic MBMessageService getMBMessageService()
public void setMBMessageService(MBMessageService mbMessageService)
mbMessageService - the message-boards message remote servicepublic MBMessagePersistence getMBMessagePersistence()
public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
mbMessagePersistence - the message-boards message persistencepublic MBMessageFinder getMBMessageFinder()
public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
mbMessageFinder - the message-boards message finderpublic ShoppingItemLocalService getShoppingItemLocalService()
public void setShoppingItemLocalService(ShoppingItemLocalService shoppingItemLocalService)
shoppingItemLocalService - the shopping item local servicepublic ShoppingItemService getShoppingItemService()
public void setShoppingItemService(ShoppingItemService shoppingItemService)
shoppingItemService - the shopping item remote servicepublic ShoppingItemPersistence getShoppingItemPersistence()
public void setShoppingItemPersistence(ShoppingItemPersistence shoppingItemPersistence)
shoppingItemPersistence - the shopping item persistencepublic ShoppingItemFinder getShoppingItemFinder()
public void setShoppingItemFinder(ShoppingItemFinder shoppingItemFinder)
shoppingItemFinder - the shopping item finderpublic ShoppingItemFieldLocalService getShoppingItemFieldLocalService()
public void setShoppingItemFieldLocalService(ShoppingItemFieldLocalService shoppingItemFieldLocalService)
shoppingItemFieldLocalService - the shopping item field local servicepublic ShoppingItemFieldPersistence getShoppingItemFieldPersistence()
public void setShoppingItemFieldPersistence(ShoppingItemFieldPersistence shoppingItemFieldPersistence)
shoppingItemFieldPersistence - the shopping item field persistencepublic ShoppingOrderItemLocalService getShoppingOrderItemLocalService()
public void setShoppingOrderItemLocalService(ShoppingOrderItemLocalService shoppingOrderItemLocalService)
shoppingOrderItemLocalService - the shopping order item local servicepublic ShoppingOrderItemPersistence getShoppingOrderItemPersistence()
public void setShoppingOrderItemPersistence(ShoppingOrderItemPersistence shoppingOrderItemPersistence)
shoppingOrderItemPersistence - the shopping order item persistencepublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier in interface IdentifiableBeangetBeanIdentifier in interface ShoppingOrderLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface IdentifiableBeansetBeanIdentifier in interface ShoppingOrderLocalServicebeanIdentifier - the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||