com.liferay.portlet.asset.service
Class AssetCategoryLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetCategoryLocalServiceUtil
public class AssetCategoryLocalServiceUtil
- 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
AssetCategoryLocalService
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:
AssetCategoryLocalService
- Generated:
Method Summary |
static AssetCategory |
addAssetCategory(AssetCategory assetCategory)
|
static AssetCategory |
addCategory(java.lang.String uuid,
long userId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
static void |
addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addCategoryResources(AssetCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static AssetCategory |
createAssetCategory(long categoryId)
|
static void |
deleteAssetCategory(AssetCategory assetCategory)
|
static void |
deleteAssetCategory(long categoryId)
|
static void |
deleteCategory(AssetCategory category)
|
static void |
deleteCategory(long categoryId)
|
static void |
deleteVocabularyCategories(long vocabularyId)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<AssetCategory> |
getAssetCategories(int start,
int end)
|
static int |
getAssetCategoriesCount()
|
static AssetCategory |
getAssetCategory(long categoryId)
|
static java.util.List<AssetCategory> |
getCategories()
|
static java.util.List<AssetCategory> |
getCategories(long classNameId,
long classPK)
|
static java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK)
|
static AssetCategory |
getCategory(long categoryId)
|
static long[] |
getCategoryIds(java.lang.String className,
long classPK)
|
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId)
|
static java.util.List<AssetCategory> |
getEntryCategories(long entryId)
|
static AssetCategoryLocalService |
getService()
|
static java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId)
|
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId)
|
static void |
mergeCategories(long fromCategoryId,
long toCategoryId)
|
static com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
|
void |
setService(AssetCategoryLocalService service)
|
static AssetCategory |
updateAssetCategory(AssetCategory assetCategory)
|
static AssetCategory |
updateAssetCategory(AssetCategory assetCategory,
boolean merge)
|
static AssetCategory |
updateCategory(long userId,
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 |
AssetCategoryLocalServiceUtil
public AssetCategoryLocalServiceUtil()
addAssetCategory
public static AssetCategory addAssetCategory(AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createAssetCategory
public static AssetCategory createAssetCategory(long categoryId)
deleteAssetCategory
public static void deleteAssetCategory(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
deleteAssetCategory
public static void deleteAssetCategory(AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetCategory
public static AssetCategory getAssetCategory(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
getAssetCategories
public static java.util.List<AssetCategory> getAssetCategories(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAssetCategoriesCount
public static int getAssetCategoriesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetCategory
public static AssetCategory updateAssetCategory(AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetCategory
public static AssetCategory updateAssetCategory(AssetCategory assetCategory,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addCategory
public static AssetCategory addCategory(java.lang.String uuid,
long userId,
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
addCategoryResources
public static void addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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
addCategoryResources
public static void addCategoryResources(AssetCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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(AssetCategory category)
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
deleteVocabularyCategories
public static void deleteVocabularyCategories(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
getCategories
public static java.util.List<AssetCategory> getCategories()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategories
public static java.util.List<AssetCategory> getCategories(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
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.SystemException
- Throws:
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
getCategoryIds
public static long[] getCategoryIds(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getChildCategories
public static java.util.List<AssetCategory> getChildCategories(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntryCategories
public static java.util.List<AssetCategory> getEntryCategories(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getVocabularyCategories
public static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getVocabularyRootCategories
public static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
mergeCategories
public static void mergeCategories(long fromCategoryId,
long toCategoryId)
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 userId,
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 AssetCategoryLocalService getService()
setService
public void setService(AssetCategoryLocalService service)