com.liferay.portlet.asset.service.impl
Class AssetVocabularyServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, AssetVocabularyService
public class AssetVocabularyServiceImpl
- extends AssetVocabularyServiceBaseImpl
Provides the remote service for accessing, adding, deleting, and updating
asset vocabularies. Its methods include permission checks.
| Fields inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, classNameLocalService, classNamePersistence, classNameService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
AssetVocabulary |
addVocabulary(long groupId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
|
AssetVocabulary |
addVocabulary(long groupId,
String title,
ServiceContext serviceContext)
|
void |
deleteVocabularies(long[] vocabularyIds)
Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[],
ServiceContext) |
List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext)
|
void |
deleteVocabulary(long vocabularyId)
|
AssetVocabulary |
fetchVocabulary(long vocabularyId)
|
protected List<AssetVocabulary> |
filterVocabularies(List<AssetVocabulary> vocabularies)
Deprecated. As of 7.0.0, with no direct replacement |
List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
Deprecated. As of 7.0.0, with no direct replacement |
List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds)
|
List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
String className)
|
List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
String className,
long classTypePK)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId)
|
List<AssetVocabulary> |
getGroupVocabularies(long[] groupIds)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
|
List<AssetVocabulary> |
getGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
|
int |
getGroupVocabulariesCount(long groupId)
|
int |
getGroupVocabulariesCount(long[] groupIds)
|
int |
getGroupVocabulariesCount(long groupId,
String name)
|
AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
String name,
int start,
int end,
boolean addDefaultVocabulary,
OrderByComparator<AssetVocabulary> obc)
|
AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
|
JSONObject |
getJSONGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
Deprecated. As of 6.2.0, with no direct replacement |
List<AssetVocabulary> |
getVocabularies(long[] vocabularyIds)
Deprecated. As of 7.0.0, replaced by AssetUtil.filterVocabularyIds(PermissionChecker, long[]) |
AssetVocabulary |
getVocabulary(long vocabularyId)
|
AssetVocabularyDisplay |
searchVocabulariesDisplay(long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end)
|
AssetVocabularyDisplay |
searchVocabulariesDisplay(long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end,
Sort sort)
|
AssetVocabulary |
updateVocabulary(long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetVocabularyServiceImpl
public AssetVocabularyServiceImpl()
addVocabulary
public AssetVocabulary addVocabulary(long groupId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addVocabulary
public AssetVocabulary addVocabulary(long groupId,
String title,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteVocabularies
@Deprecated
public void deleteVocabularies(long[] vocabularyIds)
throws PortalException
- Deprecated. As of 6.2.0, Replaced by
deleteVocabularies(long[],
ServiceContext)
- Throws:
PortalException
deleteVocabularies
public List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteVocabulary
public void deleteVocabulary(long vocabularyId)
throws PortalException
- Throws:
PortalException
fetchVocabulary
public AssetVocabulary fetchVocabulary(long vocabularyId)
throws PortalException
- Throws:
PortalException
getCompanyVocabularies
@Deprecated
public List<AssetVocabulary> getCompanyVocabularies(long companyId)
throws PortalException
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
PortalException
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
String className)
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
String className,
long classTypePK)
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId)
throws PortalException
- Throws:
PortalException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
boolean createDefaultVocabulary)
throws PortalException
- Throws:
PortalException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
boolean createDefaultVocabulary,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
throws PortalException
- Throws:
PortalException
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long groupId)
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long groupId,
String name)
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long[] groupIds)
getGroupVocabulariesDisplay
public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
String name,
int start,
int end,
boolean addDefaultVocabulary,
OrderByComparator<AssetVocabulary> obc)
throws PortalException
- Throws:
PortalException
getGroupVocabulariesDisplay
public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
throws PortalException
- Throws:
PortalException
getJSONGroupVocabularies
@Deprecated
public JSONObject getJSONGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
throws PortalException
- Deprecated. As of 6.2.0, with no direct replacement
- Throws:
PortalException
getVocabularies
@Deprecated
public List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
throws PortalException
- Deprecated. As of 7.0.0, replaced by
AssetUtil.filterVocabularyIds(PermissionChecker, long[])
- Throws:
PortalException
getVocabulary
public AssetVocabulary getVocabulary(long vocabularyId)
throws PortalException
- Throws:
PortalException
searchVocabulariesDisplay
public AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end)
throws PortalException
- Throws:
PortalException
searchVocabulariesDisplay
public AssetVocabularyDisplay searchVocabulariesDisplay(long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end,
Sort sort)
throws PortalException
- Throws:
PortalException
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
filterVocabularies
@Deprecated
protected List<AssetVocabulary> filterVocabularies(List<AssetVocabulary> vocabularies)
throws PortalException
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
PortalException