@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetVocabularyService extends BaseService
AssetVocabularyServiceUtil
,
AssetVocabularyServiceBaseImpl
,
AssetVocabularyServiceImpl
Modifier and Type | Method and Description |
---|---|
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) |
List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext) |
void |
deleteVocabulary(long vocabularyId) |
AssetVocabulary |
fetchVocabulary(long vocabularyId) |
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) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
AssetVocabulary addVocabulary(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
AssetVocabulary addVocabulary(long groupId, String title, ServiceContext serviceContext) throws PortalException
PortalException
List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException
PortalException
void deleteVocabulary(long vocabularyId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary fetchVocabulary(long vocabularyId) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getCompanyVocabularies(long companyId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long groupId, String name)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long[] groupIds)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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, String title, boolean addDefaultVocabulary, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException
PortalException
AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException