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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<AssetCategory> |
getAssetCategories(int start,
int end)
|
static int |
getAssetCategoriesCount()
|
static AssetCategory |
getAssetCategory(long categoryId)
|
static AssetCategory |
getAssetCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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,
int start,
int end,
OrderByComparator obc)
|
static int |
getChildCategoriesCount(long parentCategoryId)
|
static java.util.List<AssetCategory> |
getEntryCategories(long entryId)
|
static AssetCategoryLocalService |
getService()
|
static java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static java.util.List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
static void |
mergeCategories(long fromCategoryId,
long toCategoryId)
|
static 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 SystemException
- Throws:
SystemException
createAssetCategory
public static AssetCategory createAssetCategory(long categoryId)
deleteAssetCategory
public static void deleteAssetCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetCategory
public static void deleteAssetCategory(AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetCategory
public static AssetCategory getAssetCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetCategoryByUuidAndGroupId
public static AssetCategory getAssetCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetCategories
public static java.util.List<AssetCategory> getAssetCategories(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetCategoriesCount
public static int getAssetCategoriesCount()
throws SystemException
- Throws:
SystemException
updateAssetCategory
public static AssetCategory updateAssetCategory(AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
updateAssetCategory
public static AssetCategory updateAssetCategory(AssetCategory assetCategory,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public static void addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public static void addCategoryResources(AssetCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public static void deleteCategory(AssetCategory category)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public static void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabularyCategories
public static void deleteVocabularyCategories(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
public static java.util.List<AssetCategory> getCategories()
throws SystemException
- Throws:
SystemException
getCategories
public static java.util.List<AssetCategory> getCategories(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getCategories
public static java.util.List<AssetCategory> getCategories(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getCategory
public static AssetCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
public static long[] getCategoryIds(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getChildCategories
public static java.util.List<AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getChildCategoriesCount
public static int getChildCategoriesCount(long parentCategoryId)
throws SystemException
- Throws:
SystemException
getEntryCategories
public static java.util.List<AssetCategory> getEntryCategories(long entryId)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
public static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
public static java.util.List<AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyRootCategories
public static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
mergeCategories
public static void mergeCategories(long fromCategoryId,
long toCategoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public static JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AssetCategoryLocalService getService()
setService
public void setService(AssetCategoryLocalService service)