public class ShoppingCategoryLocalServiceImpl extends ShoppingCategoryLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, resourceLocalService, shoppingCategoryFinder, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, userLocalService, userPersistence| Constructor and Description |
|---|
ShoppingCategoryLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.shopping.model.ShoppingCategory |
addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(long categoryId,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
void |
addCategoryResources(com.liferay.shopping.model.ShoppingCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(com.liferay.shopping.model.ShoppingCategory category,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
void |
deleteCategories(long groupId) |
void |
deleteCategory(long categoryId) |
void |
deleteCategory(com.liferay.shopping.model.ShoppingCategory category) |
java.util.List<com.liferay.shopping.model.ShoppingCategory> |
getCategories(long groupId) |
java.util.List<com.liferay.shopping.model.ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
int |
getCategoriesCount(long groupId,
long parentCategoryId) |
com.liferay.shopping.model.ShoppingCategory |
getCategory(long categoryId) |
com.liferay.shopping.model.ShoppingCategory |
getCategory(long groupId,
java.lang.String categoryName) |
java.util.List<com.liferay.shopping.model.ShoppingCategory> |
getParentCategories(long categoryId) |
java.util.List<com.liferay.shopping.model.ShoppingCategory> |
getParentCategories(com.liferay.shopping.model.ShoppingCategory category) |
com.liferay.shopping.model.ShoppingCategory |
getParentCategory(com.liferay.shopping.model.ShoppingCategory category) |
protected long |
getParentCategoryId(long groupId,
long parentCategoryId) |
protected long |
getParentCategoryId(com.liferay.shopping.model.ShoppingCategory category,
long parentCategoryId) |
void |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId) |
protected void |
mergeCategories(com.liferay.shopping.model.ShoppingCategory fromCategory,
long toCategoryId) |
com.liferay.shopping.model.ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(java.lang.String name) |
addShoppingCategory, afterPropertiesSet, createShoppingCategory, deletePersistedModel, deleteShoppingCategory, deleteShoppingCategory, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchShoppingCategory, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getShoppingCategories, getShoppingCategoriesCount, getShoppingCategory, getShoppingCategoryFinder, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setResourceLocalService, setShoppingCategoryFinder, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setUserLocalService, setUserPersistence, updateShoppingCategorypublic com.liferay.shopping.model.ShoppingCategory addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addCategoryResources(long categoryId,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addCategoryResources(com.liferay.shopping.model.ShoppingCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addCategoryResources(com.liferay.shopping.model.ShoppingCategory category,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCategories(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCategory(com.liferay.shopping.model.ShoppingCategory category)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.shopping.model.ShoppingCategory> getCategories(long groupId)
public java.util.List<com.liferay.shopping.model.ShoppingCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
public int getCategoriesCount(long groupId,
long parentCategoryId)
public com.liferay.shopping.model.ShoppingCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.shopping.model.ShoppingCategory getCategory(long groupId,
java.lang.String categoryName)
public java.util.List<com.liferay.shopping.model.ShoppingCategory> getParentCategories(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.shopping.model.ShoppingCategory> getParentCategories(com.liferay.shopping.model.ShoppingCategory category)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.shopping.model.ShoppingCategory getParentCategory(com.liferay.shopping.model.ShoppingCategory category)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
public com.liferay.shopping.model.ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected long getParentCategoryId(long groupId,
long parentCategoryId)
protected long getParentCategoryId(com.liferay.shopping.model.ShoppingCategory category,
long parentCategoryId)
protected void mergeCategories(com.liferay.shopping.model.ShoppingCategory fromCategory,
long toCategoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException