com.liferay.portlet.dynamicdatalists.service.impl
Class DDLRecordSetLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl
com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordSetLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDLRecordSetLocalService
public class DDLRecordSetLocalServiceImpl
- extends DDLRecordSetLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordSetLocalServiceBaseImpl |
counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddlRecordVersionPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence |
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 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 orderByComparator)
|
List<DDLRecordSet> |
search(long companyId,
long groupId,
String name,
String description,
int scope,
boolean andOperator,
int start,
int end,
OrderByComparator 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, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDDLRecordSet, getBeanIdentifier, getCounterLocalService, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecordService, getDDLRecordSet, getDDLRecordSetByUuidAndGroupId, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSets, getDDLRecordSetsCount, getDDLRecordSetService, getDDLRecordVersionPersistence, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, runSQL, setBeanIdentifier, setCounterLocalService, setDDLRecordFinder, setDDLRecordLocalService, setDDLRecordPersistence, setDDLRecordService, setDDLRecordSetFinder, setDDLRecordSetLocalService, setDDLRecordSetPersistence, setDDLRecordSetService, setDDLRecordVersionPersistence, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, updateDDLRecordSet, updateDDLRecordSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDLRecordSetLocalServiceImpl
public DDLRecordSetLocalServiceImpl()
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,
SystemException
- Throws:
PortalException
SystemException
addRecordSetResources
public void addRecordSetResources(DDLRecordSet recordSet,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addRecordSetResources
public void addRecordSetResources(DDLRecordSet recordSet,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRecordSet
public void deleteRecordSet(DDLRecordSet recordSet)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRecordSet
public void deleteRecordSet(long recordSetId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRecordSet
public void deleteRecordSet(long groupId,
String recordSetKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRecordSets
public void deleteRecordSets(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchRecordSet
public DDLRecordSet fetchRecordSet(long groupId,
String recordSetKey)
throws SystemException
- Throws:
SystemException
getRecordSet
public DDLRecordSet getRecordSet(long recordSetId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRecordSet
public DDLRecordSet getRecordSet(long groupId,
String recordSetKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRecordSets
public List<DDLRecordSet> getRecordSets(long groupId)
throws SystemException
- Throws:
SystemException
getRecordSetsCount
public int getRecordSetsCount(long groupId)
throws SystemException
- Throws:
SystemException
search
public List<DDLRecordSet> search(long companyId,
long groupId,
String keywords,
int scope,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
search
public 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
public int searchCount(long companyId,
long groupId,
String keywords,
int scope)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
String name,
String description,
int scope,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateMinDisplayRows
public DDLRecordSet updateMinDisplayRows(long recordSetId,
int minDisplayRows,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateRecordSet
public 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
public 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
doUpdateRecordSet
protected DDLRecordSet doUpdateRecordSet(long ddmStructureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
int minDisplayRows,
ServiceContext serviceContext,
DDLRecordSet recordSet)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(long groupId,
long ddmStructureId,
String recordSetKey,
Map<Locale,String> nameMap)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateDDMStructureId
protected void validateDDMStructureId(long ddmStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateName
protected void validateName(Map<Locale,String> nameMap)
throws PortalException
- Throws:
PortalException