@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetVocabularyService extends BaseService
AssetVocabularyServiceUtil,
com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl| Modifier and Type | Method and Description |
|---|---|
AssetVocabulary |
addVocabulary(long groupId,
java.lang.String title,
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) |
AssetVocabulary |
addVocabulary(long groupId,
java.lang.String title,
ServiceContext serviceContext) |
void |
deleteVocabularies(long[] vocabularyIds)
Deprecated.
As of 6.2.0, Replaced by
deleteVocabularies(long[],
ServiceContext) |
java.util.List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext) |
void |
deleteVocabulary(long vocabularyId) |
AssetVocabulary |
fetchVocabulary(long vocabularyId) |
java.util.List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
Deprecated.
As of 7.0.0, with no direct replacement
|
java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds) |
java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
java.lang.String className) |
java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
java.lang.String className,
long classTypePK) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long[] groupIds) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
int |
getGroupVocabulariesCount(long groupId) |
int |
getGroupVocabulariesCount(long[] groupIds) |
int |
getGroupVocabulariesCount(long groupId,
java.lang.String name) |
AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
boolean addDefaultVocabulary,
OrderByComparator<AssetVocabulary> obc) |
AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
JSONObject |
getJSONGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
Deprecated.
As of 6.2.0, with no direct replacement
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.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,
java.lang.String title,
boolean addDefaultVocabulary,
int start,
int end) |
AssetVocabularyDisplay |
searchVocabulariesDisplay(long groupId,
java.lang.String title,
boolean addDefaultVocabulary,
int start,
int end,
Sort sort) |
AssetVocabulary |
updateVocabulary(long vocabularyId,
java.lang.String title,
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) |
AssetVocabulary addVocabulary(long groupId, java.lang.String title, ServiceContext serviceContext) throws PortalException
PortalExceptionAssetVocabulary addVocabulary(long groupId, java.lang.String title, 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
PortalException@Deprecated
void deleteVocabularies(long[] vocabularyIds)
throws PortalException
deleteVocabularies(long[],
ServiceContext)PortalExceptionjava.util.List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid deleteVocabulary(long vocabularyId)
throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary fetchVocabulary(long vocabularyId) throws PortalException
PortalException@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long groupId, java.lang.String name)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, java.lang.String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, java.lang.String className)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, java.lang.String className, long classTypePK)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getJSONGroupVocabularies(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalExceptionjava.lang.String getOSGiServiceIdentifier()
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetVocabulary> getVocabularies(long[] vocabularyIds) throws PortalException
AssetUtil#filterVocabularyIds(PermissionChecker, long[])PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary getVocabulary(long vocabularyId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, java.lang.String title, boolean addDefaultVocabulary, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, java.lang.String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException
PortalExceptionAssetVocabulary updateVocabulary(long vocabularyId, java.lang.String title, 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
PortalException