com.liferay.portlet.asset.service
Class AssetVocabularyLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil
public class AssetVocabularyLocalServiceUtil
- extends Object
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.
- See Also:
AssetVocabularyLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static AssetVocabulary |
addAssetVocabulary(AssetVocabulary assetVocabulary)
|
static AssetVocabulary |
addVocabulary(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
|
static void |
addVocabularyResources(AssetVocabulary vocabulary,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addVocabularyResources(AssetVocabulary vocabulary,
String[] communityPermissions,
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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static List<AssetVocabulary> |
getAssetVocabularies(int start,
int end)
|
static int |
getAssetVocabulariesCount()
|
static AssetVocabulary |
getAssetVocabulary(long vocabularyId)
|
static AssetVocabulary |
getAssetVocabularyByUuidAndGroupId(String uuid,
long groupId)
|
static List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
|
static List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds)
|
static List<AssetVocabulary> |
getGroupVocabularies(long groupId)
|
static AssetVocabulary |
getGroupVocabulary(long groupId,
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,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetVocabularies
public static 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(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
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,
String[] communityPermissions,
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 List<AssetVocabulary> getCompanyVocabularies(long companyId)
throws SystemException
- Throws:
SystemException
getGroupsVocabularies
public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabularies
public static List<AssetVocabulary> getGroupVocabularies(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabulary
public static AssetVocabulary getGroupVocabulary(long groupId,
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,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AssetVocabularyLocalService getService()
setService
public void setService(AssetVocabularyLocalService service)