@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DDMFormInstanceService
extends com.liferay.portal.kernel.service.BaseService
DDMFormInstanceServiceUtil
,
com.liferay.dynamic.data.mapping.service.base.DDMFormInstanceServiceBaseImpl
,
com.liferay.dynamic.data.mapping.service.impl.DDMFormInstanceServiceImpl
Modifier and Type | Method and Description |
---|---|
DDMFormInstance |
addFormInstance(long groupId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMFormValues settingsDDMFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstance |
addFormInstance(long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMForm ddmForm,
DDMFormLayout ddmFormLayout,
DDMFormValues settingsDDMFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteFormInstance(long ddmFormInstanceId) |
DDMFormInstance |
fetchFormInstance(long ddmFormInstanceId) |
DDMFormInstance |
getFormInstance(long ddmFormInstanceId) |
java.util.List<DDMFormInstance> |
getFormInstances(long companyId,
long groupId,
int start,
int end) |
int |
getFormInstancesCount(long companyId,
long groupId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<DDMFormInstance> |
search(long companyId,
long groupId,
java.lang.String[] names,
java.lang.String[] descriptions,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) |
java.util.List<DDMFormInstance> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator) |
int |
searchCount(long companyId,
long groupId,
java.lang.String keywords) |
int |
searchCount(long companyId,
long groupId,
java.lang.String[] names,
java.lang.String[] descriptions,
boolean andOperator) |
DDMFormInstance |
updateFormInstance(long formInstanceId,
DDMFormValues settingsDDMFormValues)
Updates the the record set's settings.
|
DDMFormInstance |
updateFormInstance(long ddmFormInstanceId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMForm ddmForm,
DDMFormLayout ddmFormLayout,
DDMFormValues settingsDDMFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstance addFormInstance(long groupId, long ddmStructureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMFormValues settingsDDMFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
DDMFormInstance addFormInstance(long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, DDMFormValues settingsDDMFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFormInstance(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstance fetchFormInstance(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstance getFormInstance(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstance> getFormInstances(long companyId, long groupId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFormInstancesCount(long companyId, long groupId)
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstance> search(long companyId, long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstance> search(long companyId, long groupId, java.lang.String[] names, java.lang.String[] descriptions, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstance> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long groupId, java.lang.String keywords)
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long groupId, java.lang.String[] names, java.lang.String[] descriptions, boolean andOperator)
DDMFormInstance updateFormInstance(long formInstanceId, DDMFormValues settingsDDMFormValues) throws com.liferay.portal.kernel.exception.PortalException
formInstanceId
- the primary key of the form instancesettingsDDMFormValues
- the record set's settings. For more
information see DDMFormValues
in the
dynamic.data.mapping.api
module.com.liferay.portal.kernel.exception.PortalException
- if a portal exception occurredDDMFormInstance updateFormInstance(long ddmFormInstanceId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, DDMFormValues settingsDDMFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException