Liferay 6.2.0

com.liferay.portlet.asset.service
Interface AssetVocabularyService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetVocabularyServiceBaseImpl, AssetVocabularyServiceImpl, AssetVocabularyServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetVocabularyService
extends BaseService

Provides the remote service interface for AssetVocabulary. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AssetVocabularyServiceUtil, AssetVocabularyServiceBaseImpl, AssetVocabularyServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  AssetVocabulary addVocabulary(Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)
abstract  AssetVocabulary addVocabulary(String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
abstract  AssetVocabulary addVocabulary(String title, ServiceContext serviceContext)
           
abstract  void deleteVocabularies(long[] vocabularyIds)
          Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[], ServiceContext)
abstract  List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext)
           
abstract  void deleteVocabulary(long vocabularyId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  List<AssetVocabulary> getCompanyVocabularies(long companyId)
           
abstract  List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
           
abstract  List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
           
abstract  List<AssetVocabulary> getGroupVocabularies(long groupId)
           
abstract  List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary)
           
abstract  List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator obc)
           
abstract  List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
           
abstract  int getGroupVocabulariesCount(long groupId)
           
abstract  int getGroupVocabulariesCount(long groupId, String name)
           
abstract  AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String title, int start, int end, boolean addDefaultVocabulary, OrderByComparator obc)
           
abstract  AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator obc)
           
abstract  JSONObject getJSONGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, with no direct replacement
abstract  List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
           
abstract  AssetVocabulary getVocabulary(long vocabularyId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
          Deprecated. As of 6.1.0, updateVocabulary(long, String, Map, Map, String, ServiceContext)
abstract  AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addVocabulary

AssetVocabulary addVocabulary(Map<Locale,String> titleMap,
                              Map<Locale,String> descriptionMap,
                              String settings,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Deprecated. As of 6.1.0 addVocabulary(String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

addVocabulary

AssetVocabulary addVocabulary(String title,
                              Map<Locale,String> titleMap,
                              Map<Locale,String> descriptionMap,
                              String settings,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addVocabulary

AssetVocabulary addVocabulary(String title,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deleteVocabularies

void deleteVocabularies(long[] vocabularyIds)
                        throws PortalException,
                               SystemException
Deprecated. As of 6.2.0, Replaced by deleteVocabularies(long[], ServiceContext)

Throws:
PortalException
SystemException

deleteVocabularies

List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds,
                                         ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

deleteVocabulary

void deleteVocabulary(long vocabularyId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getCompanyVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getCompanyVocabularies(long companyId)
                                             throws PortalException,
                                                    SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getGroupsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupsVocabularies(long[] groupIds,
                                                                                     String className)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                    boolean createDefaultVocabulary)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                    int start,
                                                                                    int end,
                                                                                    OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getGroupVocabularies(long groupId,
                                                                                    String name,
                                                                                    int start,
                                                                                    int end,
                                                                                    OrderByComparator obc)
                                           throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupVocabulariesCount(long groupId)
                              throws SystemException
Throws:
SystemException

getGroupVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupVocabulariesCount(long groupId,
                                                                       String name)
                              throws SystemException
Throws:
SystemException

getGroupVocabulariesDisplay

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                                            String title,
                                                                                            int start,
                                                                                            int end,
                                                                                            boolean addDefaultVocabulary,
                                                                                            OrderByComparator obc)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getGroupVocabulariesDisplay

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId,
                                                                                            String name,
                                                                                            int start,
                                                                                            int end,
                                                                                            OrderByComparator obc)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getJSONGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONObject getJSONGroupVocabularies(long groupId,
                                                                             String name,
                                                                             int start,
                                                                             int end,
                                                                             OrderByComparator obc)
                                    throws PortalException,
                                           SystemException
Deprecated. As of 6.2.0, with no direct replacement

Throws:
PortalException
SystemException

getVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetVocabulary> getVocabularies(long[] vocabularyIds)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetVocabulary getVocabulary(long vocabularyId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateVocabulary

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, updateVocabulary(long, String, Map, Map, String, ServiceContext)

Throws:
PortalException
SystemException

updateVocabulary

AssetVocabulary updateVocabulary(long vocabularyId,
                                 String title,
                                 Map<Locale,String> titleMap,
                                 Map<Locale,String> descriptionMap,
                                 String settings,
                                 ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0