Liferay 7.0-ce-m3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordSetLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDLRecordSetLocalService

public class DDLRecordSetLocalServiceImpl
extends DDLRecordSetLocalServiceBaseImpl

Provides the local service for accessing, adding, deleting, and updating dynamic data list (DDL) record sets.


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence
 
Constructor Summary
DDLRecordSetLocalServiceImpl()
           
 
Method Summary
 DDLRecordSet addRecordSet(long userId, long groupId, long ddmStructureId, String recordSetKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int minDisplayRows, int scope, ServiceContext serviceContext)
           
 void addRecordSetResources(DDLRecordSet recordSet, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addRecordSetResources(DDLRecordSet recordSet, String[] groupPermissions, String[] guestPermissions)
           
 void deleteRecordSet(DDLRecordSet recordSet)
           
 void deleteRecordSet(long recordSetId)
           
 void deleteRecordSet(long groupId, String recordSetKey)
           
 void deleteRecordSets(long groupId)
           
protected  DDLRecordSet doUpdateRecordSet(long ddmStructureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, int minDisplayRows, ServiceContext serviceContext, DDLRecordSet recordSet)
           
 DDLRecordSet fetchRecordSet(long recordSetId)
           
 DDLRecordSet fetchRecordSet(long groupId, String recordSetKey)
           
 DDLRecordSet getRecordSet(long recordSetId)
           
 DDLRecordSet getRecordSet(long groupId, String recordSetKey)
           
 List<DDLRecordSet> getRecordSets(long groupId)
           
 int getRecordSetsCount(long groupId)
           
 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)
           
protected  void validate(long groupId, long ddmStructureId, String recordSetKey, Map<Locale,String> nameMap)
           
protected  void validateDDMStructureId(long ddmStructureId)
           
protected  void validateName(Map<Locale,String> nameMap)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl
addDDLRecordSet, afterPropertiesSet, createDDLRecordSet, deleteDDLRecordSet, deleteDDLRecordSet, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDDLRecordSet, fetchDDLRecordSetByUuidAndGroupId, getActionableDynamicQuery, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecordService, getDDLRecordSet, getDDLRecordSetByUuidAndGroupId, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSets, getDDLRecordSetsByUuidAndCompanyId, getDDLRecordSetsByUuidAndCompanyId, getDDLRecordSetsCount, getDDLRecordSetService, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getExportActionableDynamicQuery, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, initActionableDynamicQuery, 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, updateDDLRecordSet
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordSetLocalServiceImpl

public DDLRecordSetLocalServiceImpl()
Method Detail

addRecordSet

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

addRecordSetResources

public void addRecordSetResources(DDLRecordSet recordSet,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException
Throws:
PortalException

addRecordSetResources

public void addRecordSetResources(DDLRecordSet recordSet,
                                  String[] groupPermissions,
                                  String[] guestPermissions)
                           throws PortalException
Throws:
PortalException

deleteRecordSet

@SystemEvent(action=1,
             type=1)
public void deleteRecordSet(DDLRecordSet recordSet)
                     throws PortalException
Throws:
PortalException

deleteRecordSet

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

deleteRecordSet

public void deleteRecordSet(long groupId,
                            String recordSetKey)
                     throws PortalException
Throws:
PortalException

deleteRecordSets

public void deleteRecordSets(long groupId)
                      throws PortalException
Throws:
PortalException

fetchRecordSet

public DDLRecordSet fetchRecordSet(long recordSetId)

fetchRecordSet

public DDLRecordSet fetchRecordSet(long groupId,
                                   String recordSetKey)

getRecordSet

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

getRecordSet

public DDLRecordSet getRecordSet(long groupId,
                                 String recordSetKey)
                          throws PortalException
Throws:
PortalException

getRecordSets

public List<DDLRecordSet> getRecordSets(long groupId)

getRecordSetsCount

public int getRecordSetsCount(long groupId)

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

doUpdateRecordSet

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

validate

protected void validate(long groupId,
                        long ddmStructureId,
                        String recordSetKey,
                        Map<Locale,String> nameMap)
                 throws PortalException
Throws:
PortalException

validateDDMStructureId

protected void validateDDMStructureId(long ddmStructureId)
                               throws PortalException
Throws:
PortalException

validateName

protected void validateName(Map<Locale,String> nameMap)
                     throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3