com.liferay.portlet.asset.service
Class AssetVocabularyLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil
public class AssetVocabularyLocalServiceUtil
- 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
AssetVocabularyLocalService
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:
AssetVocabularyLocalService
- Generated:
Method Summary |
static AssetVocabulary |
addAssetVocabulary(AssetVocabulary assetVocabulary)
|
static AssetVocabulary |
addVocabulary(java.lang.String uuid,
long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext)
|
static void |
addVocabularyResources(AssetVocabulary vocabulary,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addVocabularyResources(AssetVocabulary vocabulary,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static AssetVocabulary |
createAssetVocabulary(long vocabularyId)
|
static void |
deleteAssetVocabulary(AssetVocabulary assetVocabulary)
|
static void |
deleteAssetVocabulary(long vocabularyId)
|
static void |
deleteVocabulary(AssetVocabulary vocabulary)
|
static void |
deleteVocabulary(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<AssetVocabulary> |
getAssetVocabularies(int start,
int end)
|
static int |
getAssetVocabulariesCount()
|
static AssetVocabulary |
getAssetVocabulary(long vocabularyId)
|
static AssetVocabulary |
getAssetVocabularyByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static java.util.List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
|
static java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds)
|
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId)
|
static AssetVocabulary |
getGroupVocabulary(long groupId,
java.lang.String name)
|
static AssetVocabularyLocalService |
getService()
|
static AssetVocabulary |
getVocabulary(long vocabularyId)
|
void |
setService(AssetVocabularyLocalService service)
|
static AssetVocabulary |
updateAssetVocabulary(AssetVocabulary assetVocabulary)
|
static AssetVocabulary |
updateAssetVocabulary(AssetVocabulary assetVocabulary,
boolean merge)
|
static AssetVocabulary |
updateVocabulary(long vocabularyId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetVocabularyLocalServiceUtil
public AssetVocabularyLocalServiceUtil()
addAssetVocabulary
public static AssetVocabulary addAssetVocabulary(AssetVocabulary assetVocabulary)
throws SystemException
- Throws:
SystemException
createAssetVocabulary
public static AssetVocabulary createAssetVocabulary(long vocabularyId)
deleteAssetVocabulary
public static void deleteAssetVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetVocabulary
public static void deleteAssetVocabulary(AssetVocabulary assetVocabulary)
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
getAssetVocabulary
public static AssetVocabulary getAssetVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetVocabularyByUuidAndGroupId
public static AssetVocabulary getAssetVocabularyByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetVocabularies
public static java.util.List<AssetVocabulary> getAssetVocabularies(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetVocabulariesCount
public static int getAssetVocabulariesCount()
throws SystemException
- Throws:
SystemException
updateAssetVocabulary
public static AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary)
throws SystemException
- Throws:
SystemException
updateAssetVocabulary
public static AssetVocabulary updateAssetVocabulary(AssetVocabulary assetVocabulary,
boolean merge)
throws SystemException
- Throws:
SystemException
addVocabulary
public static AssetVocabulary addVocabulary(java.lang.String uuid,
long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabularyResources
public static void addVocabularyResources(AssetVocabulary vocabulary,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabularyResources
public static void addVocabularyResources(AssetVocabulary vocabulary,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabulary
public static void deleteVocabulary(AssetVocabulary vocabulary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabulary
public static void deleteVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyVocabularies
public static java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId)
throws SystemException
- Throws:
SystemException
getGroupsVocabularies
public static java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabularies
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabulary
public static AssetVocabulary getGroupVocabulary(long groupId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getVocabulary
public static AssetVocabulary getVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateVocabulary
public static AssetVocabulary updateVocabulary(long vocabularyId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AssetVocabularyLocalService getService()
setService
public void setService(AssetVocabularyLocalService service)