public class DDMFormInstanceLocalServiceWrapper extends java.lang.Object implements DDMFormInstanceLocalService, ServiceWrapper<DDMFormInstanceLocalService>
DDMFormInstanceLocalService.DDMFormInstanceLocalService| Constructor and Description |
|---|
DDMFormInstanceLocalServiceWrapper(DDMFormInstanceLocalService ddmFormInstanceLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DDMFormInstance |
addDDMFormInstance(DDMFormInstance ddmFormInstance)
Adds the ddm form instance to the database.
|
DDMFormInstance |
addFormInstance(long userId,
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,
ServiceContext serviceContext) |
DDMFormInstance |
addFormInstance(long userId,
long groupId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String serializedSettingsDDMFormValues,
ServiceContext serviceContext) |
DDMFormInstance |
addFormInstance(long userId,
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,
ServiceContext serviceContext) |
void |
addFormInstanceResources(DDMFormInstance ddmFormInstance,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFormInstanceResources(DDMFormInstance ddmFormInstance,
ModelPermissions modelPermissions) |
DDMFormInstance |
createDDMFormInstance(long formInstanceId)
Creates a new ddm form instance with the primary key.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstance |
deleteDDMFormInstance(DDMFormInstance ddmFormInstance)
Deletes the ddm form instance from the database.
|
DDMFormInstance |
deleteDDMFormInstance(long formInstanceId)
Deletes the ddm form instance with the primary key from the database.
|
void |
deleteFormInstance(DDMFormInstance ddmFormInstance) |
void |
deleteFormInstance(long ddmFormInstanceId) |
void |
deleteFormInstances(long groupId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
DDMFormInstance |
fetchDDMFormInstance(long formInstanceId) |
DDMFormInstance |
fetchDDMFormInstanceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance matching the UUID and group.
|
DDMFormInstance |
fetchFormInstance(long ddmFormInstanceId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
CTPersistence<DDMFormInstance> |
getCTPersistence() |
DDMFormInstance |
getDDMFormInstance(long formInstanceId)
Returns the ddm form instance with the primary key.
|
DDMFormInstance |
getDDMFormInstanceByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance matching the UUID and group.
|
java.util.List<DDMFormInstance> |
getDDMFormInstances(int start,
int end)
Returns a range of all the ddm form instances.
|
java.util.List<DDMFormInstance> |
getDDMFormInstancesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the ddm form instances matching the UUID and company.
|
java.util.List<DDMFormInstance> |
getDDMFormInstancesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<DDMFormInstance> orderByComparator)
Returns a range of ddm form instances matching the UUID and company.
|
int |
getDDMFormInstancesCount()
Returns the number of ddm form instances.
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
DDMFormInstance |
getFormInstance(long ddmFormInstanceId) |
DDMFormInstance |
getFormInstance(java.lang.String uuid,
long ddmFormInstanceId) |
java.util.List<DDMFormInstance> |
getFormInstances(long groupId) |
int |
getFormInstancesCount(long groupId) |
int |
getFormInstancesCount(java.lang.String uuid) |
DDMFormValues |
getFormInstanceSettingsFormValues(DDMFormInstance formInstance) |
DDMFormInstanceSettings |
getFormInstanceSettingsModel(DDMFormInstance formInstance) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<DDMFormInstance> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceLocalService |
getWrappedService() |
java.util.List<DDMFormInstance> |
search(long companyId,
long groupId,
java.lang.String[] names,
java.lang.String[] descriptions,
boolean andOperator,
int start,
int end,
OrderByComparator<DDMFormInstance> orderByComparator) |
java.util.List<DDMFormInstance> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
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) |
void |
sendEmail(long userId,
java.lang.String message,
java.lang.String subject,
java.lang.String[] toEmailAddresses) |
void |
setWrappedService(DDMFormInstanceLocalService ddmFormInstanceLocalService) |
DDMFormInstance |
updateDDMFormInstance(DDMFormInstance ddmFormInstance)
Updates the ddm form instance in the database or adds it if it does not yet exist.
|
DDMFormInstance |
updateFormInstance(long formInstanceId,
DDMFormValues settingsDDMFormValues) |
DDMFormInstance |
updateFormInstance(long userId,
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,
ServiceContext serviceContext) |
DDMFormInstance |
updateFormInstance(long ddmFormInstanceId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
DDMFormValues settingsDDMFormValues,
ServiceContext serviceContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(UnsafeFunction<CTPersistence<DDMFormInstance>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic DDMFormInstanceLocalServiceWrapper(DDMFormInstanceLocalService ddmFormInstanceLocalService)
public DDMFormInstance addDDMFormInstance(DDMFormInstance ddmFormInstance)
addDDMFormInstance in interface DDMFormInstanceLocalServiceddmFormInstance - the ddm form instancepublic DDMFormInstance addFormInstance(long userId, 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, ServiceContext serviceContext) throws PortalException
addFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance addFormInstance(long userId, long groupId, long ddmStructureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String serializedSettingsDDMFormValues, ServiceContext serviceContext) throws PortalException
addFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance addFormInstance(long userId, 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, ServiceContext serviceContext) throws PortalException
addFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic void addFormInstanceResources(DDMFormInstance ddmFormInstance, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addFormInstanceResources in interface DDMFormInstanceLocalServicePortalExceptionpublic void addFormInstanceResources(DDMFormInstance ddmFormInstance, ModelPermissions modelPermissions) throws PortalException
addFormInstanceResources in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance createDDMFormInstance(long formInstanceId)
createDDMFormInstance in interface DDMFormInstanceLocalServiceformInstanceId - the primary key for the new ddm form instancepublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface DDMFormInstanceLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic DDMFormInstance deleteDDMFormInstance(DDMFormInstance ddmFormInstance)
deleteDDMFormInstance in interface DDMFormInstanceLocalServiceddmFormInstance - the ddm form instancepublic DDMFormInstance deleteDDMFormInstance(long formInstanceId) throws PortalException
deleteDDMFormInstance in interface DDMFormInstanceLocalServiceformInstanceId - the primary key of the ddm form instancePortalException - if a ddm form instance with the primary key could not be foundpublic void deleteFormInstance(DDMFormInstance ddmFormInstance) throws PortalException
deleteFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic void deleteFormInstance(long ddmFormInstanceId)
throws PortalException
deleteFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic void deleteFormInstances(long groupId)
throws PortalException
deleteFormInstances in interface DDMFormInstanceLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface DDMFormInstanceLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface DDMFormInstanceLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DDMFormInstanceLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DDMFormInstanceLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceModelImpl.
dynamicQuery in interface DDMFormInstanceLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceModelImpl.
dynamicQuery in interface DDMFormInstanceLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DDMFormInstanceLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DDMFormInstanceLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic DDMFormInstance fetchDDMFormInstance(long formInstanceId)
fetchDDMFormInstance in interface DDMFormInstanceLocalServicepublic DDMFormInstance fetchDDMFormInstanceByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDDMFormInstanceByUuidAndGroupId in interface DDMFormInstanceLocalServiceuuid - the ddm form instance's UUIDgroupId - the primary key of the groupnull if a matching ddm form instance could not be foundpublic DDMFormInstance fetchFormInstance(long ddmFormInstanceId)
fetchFormInstance in interface DDMFormInstanceLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDMFormInstanceLocalServicepublic DDMFormInstance getDDMFormInstance(long formInstanceId) throws PortalException
getDDMFormInstance in interface DDMFormInstanceLocalServiceformInstanceId - the primary key of the ddm form instancePortalException - if a ddm form instance with the primary key could not be foundpublic DDMFormInstance getDDMFormInstanceByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException
getDDMFormInstanceByUuidAndGroupId in interface DDMFormInstanceLocalServiceuuid - the ddm form instance's UUIDgroupId - the primary key of the groupPortalException - if a matching ddm form instance could not be foundpublic java.util.List<DDMFormInstance> getDDMFormInstances(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceModelImpl.
getDDMFormInstances in interface DDMFormInstanceLocalServicestart - the lower bound of the range of ddm form instancesend - the upper bound of the range of ddm form instances (not inclusive)public java.util.List<DDMFormInstance> getDDMFormInstancesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDDMFormInstancesByUuidAndCompanyId in interface DDMFormInstanceLocalServiceuuid - the UUID of the ddm form instancescompanyId - the primary key of the companypublic java.util.List<DDMFormInstance> getDDMFormInstancesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<DDMFormInstance> orderByComparator)
getDDMFormInstancesByUuidAndCompanyId in interface DDMFormInstanceLocalServiceuuid - the UUID of the ddm form instancescompanyId - the primary key of the companystart - the lower bound of the range of ddm form instancesend - the upper bound of the range of ddm form instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getDDMFormInstancesCount()
getDDMFormInstancesCount in interface DDMFormInstanceLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DDMFormInstanceLocalServicepublic DDMFormInstance getFormInstance(long ddmFormInstanceId) throws PortalException
getFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance getFormInstance(java.lang.String uuid, long ddmFormInstanceId) throws PortalException
getFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic java.util.List<DDMFormInstance> getFormInstances(long groupId)
getFormInstances in interface DDMFormInstanceLocalServicepublic int getFormInstancesCount(long groupId)
getFormInstancesCount in interface DDMFormInstanceLocalServicepublic int getFormInstancesCount(java.lang.String uuid)
throws PortalException
getFormInstancesCount in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormValues getFormInstanceSettingsFormValues(DDMFormInstance formInstance) throws PortalException
getFormInstanceSettingsFormValues in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstanceSettings getFormInstanceSettingsModel(DDMFormInstance formInstance) throws PortalException
getFormInstanceSettingsModel in interface DDMFormInstanceLocalServicePortalExceptionpublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DDMFormInstanceLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DDMFormInstanceLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface DDMFormInstanceLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic java.util.List<DDMFormInstance> search(long companyId, long groupId, java.lang.String keywords, int start, int end, OrderByComparator<DDMFormInstance> orderByComparator)
search in interface DDMFormInstanceLocalServicepublic java.util.List<DDMFormInstance> search(long companyId, long groupId, java.lang.String[] names, java.lang.String[] descriptions, boolean andOperator, int start, int end, OrderByComparator<DDMFormInstance> orderByComparator)
search in interface DDMFormInstanceLocalServicepublic int searchCount(long companyId,
long groupId,
java.lang.String keywords)
searchCount in interface DDMFormInstanceLocalServicepublic int searchCount(long companyId,
long groupId,
java.lang.String[] names,
java.lang.String[] descriptions,
boolean andOperator)
searchCount in interface DDMFormInstanceLocalServicepublic void sendEmail(long userId,
java.lang.String message,
java.lang.String subject,
java.lang.String[] toEmailAddresses)
throws java.lang.Exception
sendEmail in interface DDMFormInstanceLocalServicejava.lang.Exceptionpublic DDMFormInstance updateDDMFormInstance(DDMFormInstance ddmFormInstance)
updateDDMFormInstance in interface DDMFormInstanceLocalServiceddmFormInstance - the ddm form instancepublic DDMFormInstance updateFormInstance(long formInstanceId, DDMFormValues settingsDDMFormValues) throws PortalException
updateFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance updateFormInstance(long userId, 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, ServiceContext serviceContext) throws PortalException
updateFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic DDMFormInstance updateFormInstance(long ddmFormInstanceId, long ddmStructureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, DDMFormValues settingsDDMFormValues, ServiceContext serviceContext) throws PortalException
updateFormInstance in interface DDMFormInstanceLocalServicePortalExceptionpublic CTPersistence<DDMFormInstance> getCTPersistence()
getCTPersistence in interface DDMFormInstanceLocalServicegetCTPersistence in interface CTService<DDMFormInstance>public java.lang.Class<DDMFormInstance> getModelClass()
getModelClass in interface DDMFormInstanceLocalServicegetModelClass in interface CTService<DDMFormInstance>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<DDMFormInstance>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface DDMFormInstanceLocalServiceupdateWithUnsafeFunction in interface CTService<DDMFormInstance>E extends java.lang.Throwablepublic DDMFormInstanceLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DDMFormInstanceLocalService>public void setWrappedService(DDMFormInstanceLocalService ddmFormInstanceLocalService)
setWrappedService in interface ServiceWrapper<DDMFormInstanceLocalService>