Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.service
Interface DDLRecordSetService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDLRecordSetServiceWrapper

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

Method Detail

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
Throws:
PortalException

deleteRecordSet

void deleteRecordSet(long recordSetId)
                     throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getRecordSet

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

search

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

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<DDLRecordSet> orderByComparator)

searchCount

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

searchCount

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateMinDisplayRows

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

updateRecordSet

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

updateRecordSet

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

Liferay 7.0-ce-m3