Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.service.impl
Class DDLRecordSetServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordSetServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, DDLRecordSetService

public class DDLRecordSetServiceImpl
extends DDLRecordSetServiceBaseImpl

Provides the remote service for accessing, adding, deleting, and updating dynamic data list (DDL) record sets. Its methods include permission checks.


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
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)
           
 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)
           
 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)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecordService, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSetService, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getModelClass, getModelClassName, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, runSQL, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setDDLRecordFinder, setDDLRecordLocalService, setDDLRecordPersistence, setDDLRecordService, setDDLRecordSetFinder, setDDLRecordSetLocalService, setDDLRecordSetPersistence, setDDLRecordSetService, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordSetServiceImpl

public DDLRecordSetServiceImpl()
Method Detail

addRecordSet

public 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

public void deleteRecordSet(long recordSetId)
                     throws PortalException
Throws:
PortalException

getRecordSet

public DDLRecordSet getRecordSet(long recordSetId)
                          throws PortalException
Throws:
PortalException

search

public List<DDLRecordSet> search(long companyId,
                                 long groupId,
                                 String keywords,
                                 int scope,
                                 int start,
                                 int end,
                                 OrderByComparator<DDLRecordSet> orderByComparator)

search

public List<DDLRecordSet> search(long companyId,
                                 long groupId,
                                 String name,
                                 String description,
                                 int scope,
                                 boolean andOperator,
                                 int start,
                                 int end,
                                 OrderByComparator<DDLRecordSet> orderByComparator)

searchCount

public int searchCount(long companyId,
                       long groupId,
                       String keywords,
                       int scope)

searchCount

public int searchCount(long companyId,
                       long groupId,
                       String name,
                       String description,
                       int scope,
                       boolean andOperator)

updateMinDisplayRows

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

updateRecordSet

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

updateRecordSet

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

Liferay 7.0-ce-m3