com.liferay.portlet.asset.service.impl
Class AssetVocabularyLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetVocabularyLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, AssetVocabularyLocalService
public class AssetVocabularyLocalServiceImpl
- extends AssetVocabularyLocalServiceBaseImpl
Provides the local service for accessing, adding, deleting, and updating
asset vocabularies.
Fields inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
AssetVocabulary |
addDefaultVocabulary(long groupId)
|
AssetVocabulary |
addVocabulary(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
Deprecated. As of 6.1.0 |
AssetVocabulary |
addVocabulary(long userId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
|
AssetVocabulary |
addVocabulary(long userId,
String title,
ServiceContext serviceContext)
|
void |
addVocabularyResources(AssetVocabulary vocabulary,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addVocabularyResources(AssetVocabulary vocabulary,
String[] groupPermissions,
String[] guestPermissions)
|
void |
deleteVocabularies(long groupId)
|
void |
deleteVocabulary(AssetVocabulary vocabulary)
|
void |
deleteVocabulary(long vocabularyId)
|
List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
|
List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds)
|
List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
String className)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean addDefaultVocabulary)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator obc)
|
AssetVocabulary |
getGroupVocabulary(long groupId,
String name)
|
List<AssetVocabulary> |
getVocabularies(long[] vocabularyIds)
|
AssetVocabulary |
getVocabulary(long vocabularyId)
|
protected boolean |
hasVocabulary(long groupId,
String name)
|
AssetVocabulary |
updateVocabulary(long vocabularyId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
Deprecated. As of 6.1.0 |
AssetVocabulary |
updateVocabulary(long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
|
protected void |
validate(long groupId,
String name)
|
Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyLocalServiceBaseImpl |
addAssetVocabulary, afterPropertiesSet, createAssetVocabulary, deleteAssetVocabulary, deleteAssetVocabulary, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetVocabulary, fetchAssetVocabularyByUuidAndCompanyId, fetchAssetVocabularyByUuidAndGroupId, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularies, getAssetVocabulariesCount, getAssetVocabulary, getAssetVocabularyByUuidAndCompanyId, getAssetVocabularyByUuidAndGroupId, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetVocabulary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetVocabularyLocalServiceImpl
public AssetVocabularyLocalServiceImpl()
addDefaultVocabulary
public AssetVocabulary addDefaultVocabulary(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabulary
public AssetVocabulary addVocabulary(long userId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Deprecated. As of 6.1.0
- Throws:
PortalException
SystemException
addVocabulary
public AssetVocabulary addVocabulary(long userId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabulary
public AssetVocabulary addVocabulary(long userId,
String title,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabularyResources
public void addVocabularyResources(AssetVocabulary vocabulary,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addVocabularyResources
public void addVocabularyResources(AssetVocabulary vocabulary,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabularies
public void deleteVocabularies(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabulary
public void deleteVocabulary(AssetVocabulary vocabulary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabulary
public void deleteVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyVocabularies
public List<AssetVocabulary> getCompanyVocabularies(long companyId)
throws SystemException
- Throws:
SystemException
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
String className)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
boolean addDefaultVocabulary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupVocabulary
public AssetVocabulary getGroupVocabulary(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getVocabularies
public List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getVocabulary
public AssetVocabulary getVocabulary(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Deprecated. As of 6.1.0
- Throws:
PortalException
SystemException
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasVocabulary
protected boolean hasVocabulary(long groupId,
String name)
throws SystemException
- Throws:
SystemException
validate
protected void validate(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException