Liferay 6.2.0

com.liferay.portlet.dynamicdatalists.service
Interface DDLRecordSetService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDLRecordSetServiceWrapper

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

Provides the remote service interface for DDLRecordSet. 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:
DDLRecordSetServiceUtil, com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetServiceBaseImpl, com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordSetServiceImpl

Method Summary
abstract  DDLRecordSet addRecordSet(long groupId, long ddmStructureId, String recordSetKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int minDisplayRows, int scope, ServiceContext serviceContext)
           
abstract  void deleteRecordSet(long recordSetId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  DDLRecordSet getRecordSet(long recordSetId)
           
abstract  List<DDLRecordSet> search(long companyId, long groupId, String keywords, int scope, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<DDLRecordSet> search(long companyId, long groupId, String name, String description, int scope, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
abstract  int searchCount(long companyId, long groupId, String keywords, int scope)
           
abstract  int searchCount(long companyId, long groupId, String name, String description, int scope, boolean andOperator)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  DDLRecordSet updateMinDisplayRows(long recordSetId, int minDisplayRows, ServiceContext serviceContext)
           
abstract  DDLRecordSet updateRecordSet(long recordSetId, long ddmStructureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int minDisplayRows, ServiceContext serviceContext)
           
abstract  DDLRecordSet updateRecordSet(long groupId, long ddmStructureId, String recordSetKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int minDisplayRows, 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

addRecordSet

DDLRecordSet addRecordSet(long groupId,
                          long ddmStructureId,
                          String recordSetKey,
                          Map<Locale,String> nameMap,
                          Map<Locale,String> descriptionMap,
                          int minDisplayRows,
                          int scope,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteRecordSet

void deleteRecordSet(long recordSetId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getRecordSet

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDLRecordSet getRecordSet(long recordSetId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DDLRecordSet> search(long companyId,
                                                                   long groupId,
                                                                   String keywords,
                                                                   int scope,
                                                                   int start,
                                                                   int end,
                                                                   OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DDLRecordSet> search(long companyId,
                                                                   long groupId,
                                                                   String name,
                                                                   String description,
                                                                   int scope,
                                                                   boolean andOperator,
                                                                   int start,
                                                                   int end,
                                                                   OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long groupId,
                                                         String keywords,
                                                         int scope)
                throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long groupId,
                                                         String name,
                                                         String description,
                                                         int scope,
                                                         boolean andOperator)
                throws SystemException
Throws:
SystemException

updateMinDisplayRows

DDLRecordSet updateMinDisplayRows(long recordSetId,
                                  int minDisplayRows,
                                  ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

updateRecordSet

DDLRecordSet updateRecordSet(long recordSetId,
                             long ddmStructureId,
                             Map<Locale,String> nameMap,
                             Map<Locale,String> descriptionMap,
                             int minDisplayRows,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

updateRecordSet

DDLRecordSet updateRecordSet(long groupId,
                             long ddmStructureId,
                             String recordSetKey,
                             Map<Locale,String> nameMap,
                             Map<Locale,String> descriptionMap,
                             int minDisplayRows,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0