com.liferay.portlet.asset.service
Class AssetCategoryServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetCategoryServiceUtil
public class AssetCategoryServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
AssetCategoryService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetCategoryService
- Generated:
Method Summary |
static AssetCategory |
addCategory(long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
static void |
deleteCategory(long categoryId)
|
static java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK)
|
static AssetCategory |
getCategory(long categoryId)
|
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId)
|
static AssetCategoryService |
getService()
|
static java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId)
|
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId)
|
static com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
|
void |
setService(AssetCategoryService service)
|
static AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetCategoryServiceUtil
public AssetCategoryServiceUtil()
addCategory
public static AssetCategory addCategory(long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteCategory
public static void deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategories
public static java.util.List<AssetCategory> getCategories(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategory
public static AssetCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getChildCategories
public static java.util.List<AssetCategory> getChildCategories(long parentCategoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getVocabularyCategories
public static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getVocabularyRootCategories
public static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
public static com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateCategory
public static AssetCategory updateCategory(long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static AssetCategoryService getService()
setService
public void setService(AssetCategoryService service)