public static com.liferay.dynamic.data.mapping.model.DDMFormInstance addFormInstance( long userId, long groupId, long ddmStructureId, java.util.Map<java.util.Locale, String> nameMap, java.util.Map<java.util.Locale, String> descriptionMap, String serializedSettingsDDMFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .addFormInstance(userId, groupId, ddmStructureId, nameMap, descriptionMap, serializedSettingsDDMFormValues, serviceContext); }
public static void addFormInstanceResources( com.liferay.dynamic.data.mapping.model.DDMFormInstance ddmFormInstance, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException { getService() .addFormInstanceResources(ddmFormInstance, addGroupPermissions, addGuestPermissions); }
/** * Creates a new ddm form instance with the primary key. Does not add the ddm form instance to the database. * * @param formInstanceId the primary key for the new ddm form instance * @return the new ddm form instance */ public static com.liferay.dynamic.data.mapping.model.DDMFormInstance createDDMFormInstance( long formInstanceId) { return getService().createDDMFormInstance(formInstanceId); }
/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return getService().dynamicQueryCount(dynamicQuery, projection); }
public static com.liferay.dynamic.data.mapping.model.DDMFormInstance updateFormInstance( long ddmFormInstanceId, long ddmStructureId, java.util.Map<java.util.Locale, String> nameMap, java.util.Map<java.util.Locale, String> descriptionMap, com.liferay.dynamic.data.mapping.storage.DDMFormValues settingsDDMFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .updateFormInstance(ddmFormInstanceId, ddmStructureId, nameMap, descriptionMap, settingsDDMFormValues, serviceContext); }
public static com.liferay.dynamic.data.mapping.storage.DDMFormValues getFormInstanceSettingsFormValues( com.liferay.dynamic.data.mapping.model.DDMFormInstance formInstance) throws com.liferay.portal.kernel.exception.PortalException { return getService().getFormInstanceSettingsFormValues(formInstance); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMFormInstance> search( long companyId, long groupId, String[] names, String[] descriptions, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMFormInstance> orderByComparator) { return getService() .search(companyId, groupId, names, descriptions, andOperator, start, end, orderByComparator); }
/** * Updates the ddm form instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param ddmFormInstance the ddm form instance * @return the ddm form instance that was updated */ public static com.liferay.dynamic.data.mapping.model.DDMFormInstance updateDDMFormInstance( com.liferay.dynamic.data.mapping.model.DDMFormInstance ddmFormInstance) { return getService().updateDDMFormInstance(ddmFormInstance); }
/** * Adds the ddm form instance to the database. Also notifies the appropriate model listeners. * * @param ddmFormInstance the ddm form instance * @return the ddm form instance that was added */ public static com.liferay.dynamic.data.mapping.model.DDMFormInstance addDDMFormInstance( com.liferay.dynamic.data.mapping.model.DDMFormInstance ddmFormInstance) { return getService().addDDMFormInstance(ddmFormInstance); }
/** * Deletes the ddm form instance from the database. Also notifies the appropriate model listeners. * * @param ddmFormInstance the ddm form instance * @return the ddm form instance that was removed */ public static com.liferay.dynamic.data.mapping.model.DDMFormInstance deleteDDMFormInstance( com.liferay.dynamic.data.mapping.model.DDMFormInstance ddmFormInstance) { return getService().deleteDDMFormInstance(ddmFormInstance); }
public static com.liferay.dynamic.data.mapping.model.DDMFormInstance getFormInstance( long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getFormInstance(ddmFormInstanceId); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMFormInstance> search( long companyId, long groupId, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMFormInstance> orderByComparator) { return getService() .search(companyId, groupId, keywords, start, end, orderByComparator); }
public static int searchCount(long companyId, long groupId, String[] names, String[] descriptions, boolean andOperator) { return getService() .searchCount(companyId, groupId, names, descriptions, andOperator); }
/** * @throws PortalException */ public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel( com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException { return getService().deletePersistedModel(persistedModel); }
/** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ public static <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQuery(dynamicQuery); }
/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQueryCount(dynamicQuery); }
/** * Returns all the ddm form instances matching the UUID and company. * * @param uuid the UUID of the ddm form instances * @param companyId the primary key of the company * @return the matching ddm form instances, or an empty list if no matches were found */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMFormInstance> getDDMFormInstancesByUuidAndCompanyId( String uuid, long companyId) { return getService() .getDDMFormInstancesByUuidAndCompanyId(uuid, companyId); }
/** * Returns the number of ddm form instances. * * @return the number of ddm form instances */ public static int getDDMFormInstancesCount() { return getService().getDDMFormInstancesCount(); }
public static com.liferay.dynamic.data.mapping.model.DDMFormInstance getFormInstance( String uuid, long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getFormInstance(uuid, ddmFormInstanceId); }
/** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ public static String getOSGiServiceIdentifier() { return getService().getOSGiServiceIdentifier(); }